Package PamguardMVC

Interface FFTDataHolder

All Known Implementing Classes:
ClickDetection, ConnectedRegionDataUnit

public interface FFTDataHolder

Interface to indicate that a data unit can provide it's own FFT data. There may be one or more blocks per channel, so data are returned in a List, which is hopefully n times the number of channels in getChannelBitMap.

When data units implement this interface, the parent data block should implement the FFTDataHolderBlock interface.

Author:
Doug Gillespie
  • Method Summary

    Modifier and Type
    Method
    Description
    Return a list of FFT data units from the data unit.
  • Method Details

    • getFFTDataUnits

      List<FFTDataUnit> getFFTDataUnits(Integer fftLength)
      Return a list of FFT data units from the data unit.
      Parameters:
      fftLength - Length of FFT to use. If this is null, a default from the data source will be used, otherwise the source should recalculate if possible. If it's not possible to recalculate, then return what's available and the calling process must decide whether it can use the data or not.
      Returns:
      list of FFT units, interleaved by channel.