Package deepWhistle

Interface PamFFTMask

All Known Implementing Classes:
DeepWhistleMask, DummyFFTMask

public interface PamFFTMask
Interface for FFT masking algorithms.
  • Method Summary

    Modifier and Type
    Method
    Description
    Apply the mask to a batch of FFTDataUnit objects.
    boolean
    Initialize the mask.
  • Method Details

    • initMask

      boolean initMask()
      Initialize the mask. Called once before processing starts.
      Returns:
      true if initialization was successful, false otherwise
    • applyMask

      List<FFTDataUnit> applyMask(List<FFTDataUnit> batch)
      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.
      Parameters:
      batch - List of FFTDataUnit objects to process
      Returns:
      List of FFTDataUnit objects after applying the mask