Skip to content
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

Keep FrequencySeries name when taking ifft, addressing issue #1666 #1667

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

sancholp
Copy link

@sancholp sancholp commented Sep 7, 2023

When going from TimeSeries to FrequencySeries, the name of the Series are kept the same. This is not the case when going the opposite way. This was causing some issues when writing series as HDF5.

unit=self.unit,
dx=(1/self.dx/nout).to(TimeSeries._default_xunit),
)

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blank line contains whitespace

Copy link
Member

@duncanmmacleod duncanmmacleod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not 100% convinced that passing the same name is the best thing to do, but it's definitely better than not passing anything. LGTM, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants