Package deepWhistle

Class DummyFFTMask

java.lang.Object
deepWhistle.DummyFFTMask
All Implemented Interfaces:
PamFFTMask

public class DummyFFTMask extends Object implements PamFFTMask
  • Constructor Details

    • DummyFFTMask

      public DummyFFTMask()
  • Method Details

    • initMask

      public boolean initMask()
      Description copied from interface: PamFFTMask
      Initialize the mask. Called once before processing starts.
      Specified by:
      initMask in interface PamFFTMask
      Returns:
      true if initialization was successful, false otherwise
    • applyMask

      public List<FFTDataUnit> applyMask(List<FFTDataUnit> batch)
      Description copied from interface: PamFFTMask
      Apply the mask to a batch of FFTDataUnit objects. The mask performs some operation on the FFT data within each FFTDataUnit in the batch and returns the modified data units.
      Specified by:
      applyMask in interface PamFFTMask
      Parameters:
      batch - List of FFTDataUnit objects to process
      Returns:
      List of FFTDataUnit objects after applying the mask
    • getMask

      public double[][] getMask(int n, int m)
      Dummy mask - all values as number
      Parameters:
      n - number of frequency bins
      m - number of time slices
      Returns: