Class DLPredictionPlotInfoFX
java.lang.Object
dataPlotsFX.data.TDDataInfoFX
dataPlotsFX.data.generic.GenericLinePlotInfo
rawDeepLearningClassifier.dataPlotFX.DLPredictionPlotInfoFX
Plot the raw probability information. 
 
 Plots multiple probability lines. Note that the  TDDataInfo can handle drawing lines for different channels
 but we are drawing for different prediction classes here.
- Author:
 - Jamie Macaulay
 
- 
Nested Class Summary
Nested classes/interfaces inherited from class dataPlotsFX.data.generic.GenericLinePlotInfo
GenericLinePlotInfo.TimePoint2DNested classes/interfaces inherited from class dataPlotsFX.data.TDDataInfoFX
TDDataInfoFX.DataLoadObserver - 
Field Summary
Fields inherited from class dataPlotsFX.data.generic.GenericLinePlotInfo
OVAL_RADIUSFields inherited from class dataPlotsFX.data.TDDataInfoFX
dataPlugIns, isOrderring, isViewer, scaleInfoIndex - 
Constructor Summary
ConstructorsConstructorDescriptionDLPredictionPlotInfoFX(TDDataProviderFX tdDataProvider, DLControl dlContorl, TDGraphFX tdGraph, PamDataBlock pamDataBlock)  - 
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.shape.PolygondrawDataUnit(int plotNumber, PamDataUnit pamDataUnit, javafx.scene.canvas.GraphicsContext g, double scrollStart, TDProjectorFX tdProjector, int type) Draw a data unit.getColor(int i) Get the color.getDataValue(PamDataUnit pamDataUnit) Gets a value for a specific data unit which should be in the same units as the scale information.double[][]getDetData(PamDataUnit pamDataUnit) Get the line data.Get the DL prediction params.Return a hiding settings node which will get incorporated into a larger tabbed sliding pane.Get an object that will be packed up with the serialised settings when information about a plot get's stored.voidnotifyChange(int changeType) Notifications from the PamController are passed to this function.booleansetStoredSettings(Serializable storedSettings) Set settings which have been read back from storage (the psf file).Methods inherited from class dataPlotsFX.data.generic.GenericLinePlotInfo
drawPredicitionMethods inherited from class dataPlotsFX.data.TDDataInfoFX
addScaleInfo, clearDraw, drawAllDataUnits, drawData, drawHighLightData, editOptions, getCurrentScaleInfo, getDataBlock, getDataDimensions, getDataName, getDataObserver, getDataProvider, getDDataProvider, getDisplayColType, getLastDrawPoints, getMasterClockOverride, getMenuNodes, getPreviousDataUnit, getRequiredDataHistory, getScaleInfo, getScaleInfo, getScaleInfoIndex, getScaleInfos, getShortName, getSourceDataBlock, getTdDataProvider, getTDGraph, getToolTipText, hasAxisName, hasOptions, isPaused, isScrollChanging, isShowing, isViewer, lastUnitDrawn, removeData, removeScaleInfo, selectScaleInfo, setCurrentAxisName, setNPlotPanes, setShowing, shouldDraw, shouldDraw, timeRangeSpinnerChange, timeScrollRangeChanged, timeScrollValueChanged 
- 
Constructor Details
- 
DLPredictionPlotInfoFX
public DLPredictionPlotInfoFX(TDDataProviderFX tdDataProvider, DLControl dlContorl, TDGraphFX tdGraph, PamDataBlock pamDataBlock)  
 - 
 - 
Method Details
- 
drawDataUnit
public javafx.scene.shape.Polygon drawDataUnit(int plotNumber, PamDataUnit pamDataUnit, javafx.scene.canvas.GraphicsContext g, double scrollStart, TDProjectorFX tdProjector, int type) Description copied from class:TDDataInfoFXDraw a data unit.- Overrides:
 drawDataUnitin classGenericLinePlotInfo- Parameters:
 pamDataUnit- data unit to drawg- graphicsContext handle to draw ontype- flag for which type of symbol to draw. e.g normal or highlighted.- Returns:
 - polygon of area drawn on.
 
 - 
getSymbolChooser
- Overrides:
 getSymbolChooserin classGenericLinePlotInfo- Returns:
 - a class containing functions to chose a symbol to plot.
 
 - 
getColor
Get the color.- Specified by:
 getColorin classGenericLinePlotInfo- Parameters:
 i- - the prediction index- Returns:
 - the color for that prediciton
 
 - 
getDataValue
Description copied from class:TDDataInfoFXGets a value for a specific data unit which should be in the same units as the scale information. This will then be converted into a plot position by the TDGraph.- Overrides:
 getDataValuein classGenericLinePlotInfo- Parameters:
 pamDataUnit-- Returns:
 - data value or null if this data point should not be plotted.
 
 - 
getGraphSettingsPane
Description copied from class:TDDataInfoFXReturn a hiding settings node which will get incorporated into a larger tabbed sliding pane.- Overrides:
 getGraphSettingsPanein classTDDataInfoFX- Returns:
 - sliding dialog component.
 
 - 
getDlControl
 - 
getStoredSettings
Description copied from class:TDDataInfoFXGet an object that will be packed up with the serialised settings when information about a plot get's stored.
The Object MUST implement serializable and ideally also cloneable or it will go belly up !
This only gets called when settings are to be saved so there is no need to keep parameters this returns up to date except right at settings save time (when this is called)- Overrides:
 getStoredSettingsin classTDDataInfoFX- Returns:
 - serializable object to save.
 
 - 
setStoredSettings
Description copied from class:TDDataInfoFXSet settings which have been read back from storage (the psf file). Assume these are of the right type and cast into whatever is needed !- Overrides:
 setStoredSettingsin classTDDataInfoFX- Parameters:
 storedSettings-- Returns:
 - true if all OK.
 
 - 
getDlPredParams
Get the DL prediction params.- Returns:
 - the params
 
 - 
getDetData
Description copied from class:GenericLinePlotInfoGet the line data. Each double[] is a separate line with N evenly spaced data points.- Specified by:
 getDetDatain classGenericLinePlotInfo- Parameters:
 pamDataUnit- - the pam data unit containing the data.- Returns:
 - the line data.
 
 - 
notifyChange
public void notifyChange(int changeType) Notifications from the PamController are passed to this function.- Overrides:
 notifyChangein classGenericLinePlotInfo- Parameters:
 changeType- - notification flag.
 
 -