Skip to content

Conversation

@maximlt
Copy link
Member

@maximlt maximlt commented May 10, 2025

Fixes #1549

  1. Ensures the x-axis is between -pi and pi as it is how Andrews curves are usually plotted
  2. Modify the first coefficient to be 1/sqrt(2) since this is what is described in the docstring

On 2), different types of transforms can be used to create Andrews curves and it could be the implementation corresponded with a valid type, however this didn't match with the docstring, and the one with this coefficient is the canonical one.

image

@maximlt maximlt merged commit a192b9f into main May 13, 2025
11 checks passed
@maximlt maximlt deleted the fix_andrews_curves branch May 13, 2025 13:11
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.

Andrews curves x-axis not between -pi and pi

2 participants