Package deepWhistle
Class DummyFFTMask
java.lang.Object
deepWhistle.DummyFFTMask
- All Implemented Interfaces:
PamFFTMask
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyMask(List<FFTDataUnit> batch) Apply the mask to a batch of FFTDataUnit objects.double[][]getMask(int n, int m) Dummy mask - all values as numberbooleaninitMask()Initialize the mask.
-
Constructor Details
-
DummyFFTMask
public DummyFFTMask()
-
-
Method Details
-
initMask
public boolean initMask()Description copied from interface:PamFFTMaskInitialize the mask. Called once before processing starts.- Specified by:
initMaskin interfacePamFFTMask- Returns:
- true if initialization was successful, false otherwise
-
applyMask
Description copied from interface:PamFFTMaskApply 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:
applyMaskin interfacePamFFTMask- 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 binsm- number of time slices- Returns:
-