Plotter<AbstractKernelDensityPlotter.KDenseStyle>
public class KnnKernelDensityPlotter extends AbstractKernelDensityPlotter
AbstractKernelDensityPlotter.KDenseStyle, AbstractKernelDensityPlotter.KernelFigure
Pixel1dPlotter.BinArray, Pixel1dPlotter.Pixel1dPlan
Modifier and Type | Field | Description |
---|---|---|
static ConfigKey<java.lang.Double> |
KNN_CKEY |
Config key for number of nearest neighbours.
|
static ConfigKey<BinSizer> |
MAXSIZER_CKEY |
Config key for maximum smoothing width configuration.
|
static ReportKey<java.lang.Double> |
MAXWIDTH_RKEY |
Report key for actual maximum smoothing width.
|
static ConfigKey<BinSizer> |
MINSIZER_CKEY |
Config key for minimum smoothing width.
|
static ReportKey<java.lang.Double> |
MINWIDTH_RKEY |
Report key for actual minimum smoothing width.
|
static ConfigKey<java.lang.Boolean> |
SYMMETRIC_CKEY |
Config key for determining symmetry of KNN search.
|
BINS_KEY, NORMALISE_KEY, THICK_KEY
KERNEL_KEY, SMOOTHSIZER_KEY, SMOOTHWIDTH_KEY
Constructor | Description |
---|---|
KnnKernelDensityPlotter(FloatingCoord xCoord,
boolean hasWeight,
PerUnitConfigKey<Unit> unitKey) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
protected AbstractKernelDensityPlotter.KernelFigure |
createKernelFigure(ConfigMap config) |
Constructs an object for plot-time kernel construction based on
a particular config map.
|
protected ConfigKey[] |
getKernelConfigKeys() |
Returns a list of keys that specify how the smoothing kernel
will be configured.
|
java.lang.String |
getPlotterDescription() |
Returns an XML description of this plotter.
|
createStyle, extendPixel1dCoordinateRanges, getCombiner, getLayerOpt, getPixel1dReport, getPixelPadding, getStyleKeys, paintBins
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createKernel, createLayer, getCombinerKey, getCoordGroup, getDataBins, getEffectiveExtent, getPixelWidth, getPlotterIcon, getPlotterName, getWeightCoordIndex, getWeightingDescription, hasReports, readBins
public static final ReportKey<java.lang.Double> MINWIDTH_RKEY
public static final ReportKey<java.lang.Double> MAXWIDTH_RKEY
public static final ConfigKey<java.lang.Double> KNN_CKEY
public static final ConfigKey<java.lang.Boolean> SYMMETRIC_CKEY
public static final ConfigKey<BinSizer> MINSIZER_CKEY
public KnnKernelDensityPlotter(FloatingCoord xCoord, boolean hasWeight, PerUnitConfigKey<Unit> unitKey)
xCoord
- X axis coordinatehasWeight
- true to permit histogram weightingunitKey
- config key to select X axis physical units,
or null if no unit selection requiredpublic java.lang.String getPlotterDescription()
Plotter
Note: really this should appear at the LayerType level.
protected ConfigKey[] getKernelConfigKeys()
AbstractKernelDensityPlotter
getKernelConfigKeys
in class AbstractKernelDensityPlotter
protected AbstractKernelDensityPlotter.KernelFigure createKernelFigure(ConfigMap config) throws ConfigException
AbstractKernelDensityPlotter
createKernelFigure
in class AbstractKernelDensityPlotter
config
- config map with kernel config keys in itConfigException
AbstractKernelDensityPlotter.getKernelConfigKeys()
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.