import dascore as dc
from dascore.units import second
= dc.get_example_patch("chirp")
patch
# Simple stft with 10 second window and 4 seconds overlap
= patch.stft(time=10*second, overlap=4*second)
pa1 = pa1.istft()
pa2 assert pa2.equals(patch, close=True)
istft
istft(
patch ,
)-> ‘PatchType’
Invert a short-time fourier transform.
Parameters
Parameter | Description |
---|---|
patch | A patch return from stft. |