Class MTClassifierPane.RawDataPlot
java.lang.Object
detectionPlotFX.plots.WaveformPlot<RawDataUnit>
matchedTemplateClassifer.layoutFX.MTClassifierPane.RawDataPlot
- All Implemented Interfaces:
DetectionPlot<RawDataUnit>
- Enclosing class:
MTClassifierPane
Shows a waveform on the graph.
- Author:
- Jamie Macaulay
-
Field Summary
Fields inherited from interface detectionPlotFX.layout.DetectionPlot
SCROLLPANE_DRAW, STANDARD_DRAW
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble[][]
getEnvelope
(RawDataUnit pamDetection) Get the hilbert transform for each click from a PamDetectiongetName()
Get the name of the plot e.g.javafx.scene.layout.Pane
Get the settings pane for the particular plot.double[][]
getWaveform
(RawDataUnit pamDetection) Get the waveforms from a PamDetectionvoid
Setup the plot.Methods inherited from class detectionPlotFX.plots.WaveformPlot
getDetectionPlotDisplay, getSampleRate, getScaleInfo, getWaveformPlotParams, getWaveformSettingsPane, getYScale, paintPlot, paintWaveform, paintWaveform, reDrawLastUnit, setShowChannels, setupAxis
-
Constructor Details
-
RawDataPlot
-
-
Method Details
-
setupPlot
public void setupPlot()Description copied from interface:DetectionPlot
Setup the plot. This may, for example, involve changing axis etc.- Specified by:
setupPlot
in interfaceDetectionPlot<RawDataUnit>
- Overrides:
setupPlot
in classWaveformPlot<RawDataUnit>
-
getName
Description copied from interface:DetectionPlot
Get the name of the plot e.g. waveform, spectrum etc. -
getWaveform
Description copied from class:WaveformPlot
Get the waveforms from a PamDetection- Specified by:
getWaveform
in classWaveformPlot<RawDataUnit>
- Parameters:
pamDetection
- the detection- Returns:
- the waveform for each channel
-
getEnvelope
Description copied from class:WaveformPlot
Get the hilbert transform for each click from a PamDetection- Specified by:
getEnvelope
in classWaveformPlot<RawDataUnit>
- Parameters:
pamDetection
- the detection- Returns:
- the waveform for each channel
-
getSettingsPane
public javafx.scene.layout.Pane getSettingsPane()Description copied from interface:DetectionPlot
Get the settings pane for the particular plot. This sits on the right hand side of the display inside a hiding pane.- Specified by:
getSettingsPane
in interfaceDetectionPlot<RawDataUnit>
- Overrides:
getSettingsPane
in classWaveformPlot<RawDataUnit>
- Returns:
- a pane with controls for changing settings in a node.
-