Thank you for your response, Dietrich.

We are currently implementing the differentiation as you suggested: (1)
STFT the signal, (2) multiply each slice by j2πf, (3) ISTFT. We are not
using a rectangular window, though I can see how it performs. I default to
a nuttall for DSP, and its relatively poor performance lead to my question.
Is there a way of predicting if an operation does depend on the window? If
so, is there a standard practice for selection?

This procedure does show promise. The integration step is much simpler with
the STFT than a simple FFT/IFFT.

On Sat, Mar 2, 2024 at 1:49 AM Dietrich Brunn <dietrich.br...@web.de> wrote:

> Hi Ned,
>
> it is nice to see that the new STFT functionality is actually being used.
>
> > Our first use case is an integrator and differentiator. We implement this
>
> > with a forward/inverse stft pair, and the frequency domain calculus
>
> > definitions.
>
> May I ask how you implemented the differentiation in the STFT space? Note
> that differentiation *is* window dependent. An ad-hoc approach would be
> using a rectangular dual window (utilizing `ShortTimeFFT.from_dual`) and
> multiplying the STFT by j2πf.
>
> Cheers, dietrich
>
>
_______________________________________________
SciPy-Dev mailing list -- scipy-dev@python.org
To unsubscribe send an email to scipy-dev-le...@python.org
https://mail.python.org/mailman3/lists/scipy-dev.python.org/
Member address: arch...@mail-archive.com

Reply via email to