Istft#
- class ansys.sound.core.spectrogram_processing.Istft(stft=None)#
Compute the inverse short-time Fourier transform (ISTFT) of a signal.
See also
Examples
Compute and display the signal resulting from the ISTFT.
>>> from ansys.sound.core.spectrogram_processing import Istft >>> istft = Istft(stft=stft) >>> istft.process() >>> signal = istft.get_output() >>> istft.plot()
See also
- Spectrogram: compute the STFT and ISTFT
Example demonstrating how to compute the STFT and ISTFT.
Class instantiation takes the following parameters.
- Parameters:
- stft
FieldsContainer, default:None DPF fields container containing a short-time Fourier transform (STFT) computed with the
Stftclass.
- stft
Methods
Get the ISTFT resulting signal as a DPF field.
Get the ISTFT resulting signal as a NumPy array.
Plot signals.
Compute the ISTFT.
Attributes
Input short-time Fourier transform.