uk.ac.starlink.ttools.plot2.layer
Interface AbstractKernelDensityPlotter.KernelFigure

Enclosing class:
AbstractKernelDensityPlotter

@Equality
public static interface AbstractKernelDensityPlotter.KernelFigure

Encapsulates the details of smoothing kernel construction.


Method Summary
 Kernel1d createKernel(Kernel1dShape shape, Axis xAxis, boolean xLog)
          Creates a kernel1d smoothing function for use on a given axis.
 ReportMap getReportMap(boolean xLog, double dlo, double dhi)
          Returns report items specific to the way this kernel has operated.
 

Method Detail

createKernel

Kernel1d createKernel(Kernel1dShape shape,
                      Axis xAxis,
                      boolean xLog)
Creates a kernel1d smoothing function for use on a given axis.

Parameters:
shape - kernel shape
xAxis - axis on which samples occur
xLog - true for logarithmic x axis, false for linear
Returns:
kernel

getReportMap

ReportMap getReportMap(boolean xLog,
                       double dlo,
                       double dhi)
Returns report items specific to the way this kernel has operated.

Parameters:
xLog - true for logarithmic x axis, false for linear
dlo - lower data bound of axis
dhi - upper data bound of axis
Returns:
report map, may be null


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.