Package detectionPlotFX.clickTrainDDPlot
Class CTSpectrumPlot
- All Implemented Interfaces:
 DetectionPlot<CTDataUnit>
Average spectrum plot for click trains.
- Author:
 - Jamie Macaulay
 
- 
Field Summary
Fields inherited from interface detectionPlotFX.layout.DetectionPlot
SCROLLPANE_DRAW, STANDARD_DRAW - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiondouble[][]getCepstrum(CTDataUnit data, int min, int max) Get the cepstrum for the detectiongetName()Get the name of the plot e.g.double[][]getPowerSpectrum(CTDataUnit data, int min, int max) Get the power spectrum for the detectionjavafx.scene.layout.PaneGet the settings pane for the particular plot.voidsetupAxis(CTDataUnit data, double sR, DetectionPlotProjector plotProjector) Setup the axis.Methods inherited from class detectionPlotFX.plots.SpectrumPlot
drawLogSpectrum, getSampleRate, getSpectrumParams, isFillSpectrum, paintPlot, reDrawLastUnit, setFillSpectrum, setupPlot 
- 
Constructor Details
- 
CTSpectrumPlot
 
 - 
 - 
Method Details
- 
setupAxis
Description copied from interface:DetectionPlotSetup the axis. This is called before paintPlot. Ensures axis are correct values- Specified by:
 setupAxisin interfaceDetectionPlot<CTDataUnit>- Overrides:
 setupAxisin classSpectrumPlot<CTDataUnit>- Parameters:
 data- - the data of every channel. e.g. might be a waveform with each point representing a sample.sR- - the sample rate. Primarily used to convert bins into time values.
 - 
getPowerSpectrum
Description copied from class:SpectrumPlotGet the power spectrum for the detection- Specified by:
 getPowerSpectrumin classSpectrumPlot<CTDataUnit>- Parameters:
 data- - the pamDetection- Returns:
 - the power spectrum for each channel.
 
 - 
getCepstrum
Description copied from class:SpectrumPlotGet the cepstrum for the detection- Specified by:
 getCepstrumin classSpectrumPlot<CTDataUnit>- Parameters:
 data- - the pamDetection- Returns:
 - the cepstrum for each channel.
 
 - 
getName
Description copied from interface:DetectionPlotGet the name of the plot e.g. waveform, spectrum etc.- Specified by:
 getNamein interfaceDetectionPlot<CTDataUnit>- Overrides:
 getNamein classSpectrumPlot<CTDataUnit>
 - 
getSettingsPane
public javafx.scene.layout.Pane getSettingsPane()Description copied from interface:DetectionPlotGet the settings pane for the particular plot. This sits on the right hand side of the display inside a hiding pane.- Specified by:
 getSettingsPanein interfaceDetectionPlot<CTDataUnit>- Overrides:
 getSettingsPanein classSpectrumPlot<CTDataUnit>- Returns:
 - a pane with controls for changing settings in a node.
 
 
 -