cropSpectrum¶
- cropSpectrum(spectrum, paddingSize)[source][source]¶
Remove paddingSize samples at both ends of the spectrum.
- Parameters:
spectrum (
ndarray) – A 2D numpy array representing the time-frequency spectrum.paddingSize (
int) – Number of samples to remove - equals to longestWaveletSize() / 2 of the computing SuperletTransform object.
- Returns:
The spectrum with the padding removed.
- Return type:
ndarray