import dascore as dc
from dascore.units import second
patch = dc.get_example_patch("chirp")
# Simple stft with 10 second window and 4 seconds overlap
pa1 = patch.stft(time=10*second, overlap=4*second)
pa2 = pa1.istft()
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. |