-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
two sided spectra #29
Comments
What do you mean by two sided spectra? Also the negative frequencies? The Python wrapper currently only wraps the single and double precision floating point variants of the spectral computation. But a single precision complex version does exist on the fortran side: mtspec/mtspec/src/src/mtspec.f90 Line 1520 in c34b648
It should be fairly simple to add to the existing wrappers. I'm a bit short on time recently so I cannot tackle it but I'm happy to merge a PR and help along the way! |
I mean the spectrum of a complex variable, for which we need to retain negative frequencies (as they will differ from positive ones). What would the steps to wrap Would you have another wrapping that could be used as a template? |
I think it should just be two steps or so:
Testing should also be fairly simple: Passing in data with all complex values set to zero should result in a symmetric spectrum which can be tested against the already existing wrappers. |
started working on it: #30 |
I would need for my applications to keep two-sided spectra.
This doesn't seem to be implemented.
Do you think it would be possible to modify the library to do that ?
The text was updated successfully, but these errors were encountered: