Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[BC] Error when calculating ifft of DataFreq containing only one frequency #86

Open
EmileDvs opened this issue Feb 7, 2022 · 0 comments

Comments

@EmileDvs
Copy link
Collaborator

EmileDvs commented Feb 7, 2022

As shown in test_fft1d_non_uniform() of Tests\Validation\test_fft.py, the ifft of a DataFreq with a single frequency crashes when requesting the DataTime on an input time arrays ("time=axis_data").

A possible workaround is to add another value in frequency axis and zero padding the DataFreq consequently.

EmileDvs added a commit to EOMYS-Public/SciDataTool that referenced this issue Feb 7, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant