Plotter<AbstractKernelDensityPlotter.KDenseStyle>public class KnnKernelDensityPlotter extends AbstractKernelDensityPlotter
AbstractKernelDensityPlotter.KDenseStyle, AbstractKernelDensityPlotter.KernelFigurePixel1dPlotter.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, THICK_KEYKERNEL_KEY, SMOOTHSIZER_KEY, SMOOTHWIDTH_KEY| Constructor | Description |
|---|---|
KnnKernelDensityPlotter(FloatingCoord xCoord,
boolean hasWeight,
ConfigKey<Normalisation> normKey) |
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, getLayerOpt, getPixel1dReport, getPixelPadding, getStyleKeys, paintBinsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcalculatePixelPlan, createKernel, createLayer, getCoordGroup, getDataBins, getEffectiveExtent, getPixelWidth, getPlotterIcon, getPlotterName, getWeightCoordIndex, hasReports, readBinspublic 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, ConfigKey<Normalisation> normKey)
xCoord - X axis coordinatehasWeight - true to permit histogram weightingnormKey - config key for normalisation optionspublic java.lang.String getPlotterDescription()
PlotterNote: really this should appear at the LayerType level.
protected ConfigKey[] getKernelConfigKeys()
AbstractKernelDensityPlottergetKernelConfigKeys in class AbstractKernelDensityPlotterprotected AbstractKernelDensityPlotter.KernelFigure createKernelFigure(ConfigMap config) throws ConfigException
AbstractKernelDensityPlottercreateKernelFigure in class AbstractKernelDensityPlotterconfig - config map with kernel config keys in itConfigExceptionAbstractKernelDensityPlotter.getKernelConfigKeys()Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.