Istft#

class ansys.sound.core.spectrogram_processing.Istft(stft=None)#

Compute the inverse short-time Fourier transform (ISTFT) of a signal.

See also

Stft

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:
stftFieldsContainer, default: None

DPF fields container containing a short-time Fourier transform (STFT) computed with the Stft class.

Methods

Istft.get_output()

Get the ISTFT resulting signal as a DPF field.

Istft.get_output_as_nparray()

Get the ISTFT resulting signal as a NumPy array.

Istft.plot()

Plot signals.

Istft.process()

Compute the ISTFT.

Attributes

Istft.stft

Input short-time Fourier transform.