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

Fit a polynomial to the tabulated resolution curves #88

Closed
wants to merge 1 commit into from

Conversation

gbrammer
Copy link
Owner

@gbrammer gbrammer commented Jan 15, 2025

The spectral resolution curves in msaexp/data are taken from the tables provided in the NIRSpec documentation page.

This update implements using a polynomial fit to $f(\lambda) = \lambda / R$ to enable extrapolating the resolution curves of the gratings for wavelengths beyond the original tables. The function $f(\lambda)$ is nearly linear with $\lambda$ to a few percent across the nominal first-order spectral range of the gratings (see Jakobsen et al. 2022).

@gbrammer gbrammer closed this Jan 15, 2025
@gbrammer gbrammer deleted the polynomial-rcurve branch January 15, 2025 15:58
@gbrammer
Copy link
Owner Author

closed to resolve merge with main

@gbrammer
Copy link
Owner Author

Merged with #89.

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.

1 participant