Re: Power/Phase to FFT Coefficients?

Martin Reinecke <[email protected]>
Newsgroups gmane.comp.python.scientific.devel
Message-ID <[email protected]>
Hi Matt!

> One of the suggestions in https://github.com/scipy/scipy/issues/16191 
> <https://github.com/scipy/scipy/issues/16191> was to add "helper 
> functions within [scipy.fft] that 1) converts the fft coefficients to 
> power (V**2/Hz) and 2) converts power and phase to fft coefficients".
> 
> Sometimes we avoid simple convenience functions, but there are already a 
> few other "helper functions" in scipy.fft.
> https://docs.scipy.org/doc/scipy/reference/fft.html#helper-functions 
> <https://docs.scipy.org/doc/scipy/reference/fft.html#helper-functions>
> 
> Does this sound like an appropriate addition, or too simple to justify 
> the development effort and API expansion?

If the helper functions can be written in a way that is completely 
unit-agnostic (as is the case with fftshift/fftfreq), then I think that 
could be a good addition. Dealing with explicit units should not be 
scipy's job (at least that's my gut feeling).

Cheers,
   Martin

_______________________________________________
SciPy-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/scipy-dev.python.org/
Member address: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.