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

Implement 1D Profile class with orthogonal polynomials like Jacobi or Chebyshev #1201

Open
dpanici opened this issue Aug 17, 2024 · 1 comment
Assignees
Labels
enhancement General label for enhancement. Please also tag with "Speed", "Interface", "Functionality", etc P2 Medium Priority, not urgent but should be on the near-term agend

Comments

@dpanici
Copy link
Collaborator

dpanici commented Aug 17, 2024

For fitting data to a profile, to give an option other than spline (which can be prone to oscillations) or PowerSeriesProfile (which cannot be used past a certain degree for fitting due to numerics), an option to use an orthogonal polynomial would be useful. Jacobi is probably the easiest given we already have derivatives implemented for them (unlike Chebyshev)

@dpanici dpanici self-assigned this Aug 17, 2024
@dpanici dpanici added enhancement General label for enhancement. Please also tag with "Speed", "Interface", "Functionality", etc low priority Nice to have, but not needed right away labels Aug 17, 2024
@unalmis
Copy link
Collaborator

unalmis commented Aug 18, 2024

chebyshev would be better done with the DCTs on #1119

dpanici added a commit that referenced this issue Aug 20, 2024
- [x] Adds `HermiteSplineProfile`.
  - Relevant for #1201.
- [x] Resolves #1200.
- Another solution would be to use the radial basis polynomials of the
quadrature grid for spectral spline of iota.
- [x]  Resolves #1203
@dpanici dpanici added P2 Medium Priority, not urgent but should be on the near-term agend and removed low priority Nice to have, but not needed right away labels Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement General label for enhancement. Please also tag with "Speed", "Interface", "Functionality", etc P2 Medium Priority, not urgent but should be on the near-term agend
Projects
None yet
Development

No branches or pull requests

2 participants