Skip to content

Conversation

@arthurits
Copy link
Contributor

Resolves issue #49 with these modifications:

  • Adds a FFTfreq overload accepting the signal array and computes its length.
  • Modifies FFTfreq by subtracting -1 to the pointCount parameter.
  • Adds XML documentation to both functions.

ToDo: test the suggested modifications using Python.

@swharden swharden changed the title Off-by-one error in FFTfreq FFTfreq: improve documentation and add overload Jun 16, 2022
@swharden swharden changed the title FFTfreq: improve documentation and add overload FFTfreq: fix off-by-one error Jun 16, 2022
@swharden swharden linked an issue Jun 16, 2022 that may be closed by this pull request
@swharden swharden merged commit 77c56f3 into swharden:main Jun 16, 2022
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.

FFTfreq: possible off-by-one error for one-sided FFTs

2 participants