Package whistlesAndMoans.toad
Class WSLFFTDataOrganiser
java.lang.Object
fftManager.fftorganiser.FFTDataOrganiser
whistlesAndMoans.toad.WSLFFTDataOrganiser
-
Nested Class Summary
Nested classes/interfaces inherited from class fftManager.fftorganiser.FFTDataOrganiser
FFTDataOrganiser.FFTObservable
-
Field Summary
Fields inherited from class fftManager.fftorganiser.FFTDataOrganiser
inputType
-
Constructor Summary
ConstructorDescriptionWSLFFTDataOrganiser
(WhistleMoanControl wslMoanControl, ConnectedRegionDataBlock connectedRegionDataBlock) -
Method Summary
Modifier and TypeMethodDescriptioncreateFFTDataList
(PamDataUnit pamDataUnit, double sampleRate, int channelMap) Create a list of FFT Data units using the preferred input type.Methods inherited from class fftManager.fftorganiser.FFTDataOrganiser
canProcess, getDataKeepMillis, getFFTDataUnits, getFftHop, getFftLength, getFftObservable, getOnlyAllowedDataBlock, setDataKeepMillis, setFftHop, setFftLength, setInput, setOnlyAllowedDataBlock, suggestInputType
-
Constructor Details
-
WSLFFTDataOrganiser
public WSLFFTDataOrganiser(WhistleMoanControl wslMoanControl, ConnectedRegionDataBlock connectedRegionDataBlock)
-
-
Method Details
-
createFFTDataList
public FFTDataList createFFTDataList(PamDataUnit pamDataUnit, double sampleRate, int channelMap) throws FFTDataException Description copied from class:FFTDataOrganiser
Create a list of FFT Data units using the preferred input type.Note that some overridden versions of this function may chose to change the sample rate of the data (e.g. click detector upsampling) so the sample rate in the returned FFTDataList may not be the same as the sampleRate parameter fed to the function.
- Overrides:
createFFTDataList
in classFFTDataOrganiser
- Parameters:
pamDataUnit
- data unit we need FFT data for (can be anything, just needs it's times)sampleRate
- sample rate of the data in PamDataUnitchannelMap
- channel map we want data for- Returns:
- Collated and interleaved list of FFT data units
- Throws:
FFTDataException
- See Also:
-