Skip to content

Add linear and loglinear wavelength solutions to (IRAF) fits-wcs #1254

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

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

Conversation

hamogu
Copy link
Member

@hamogu hamogu commented Jul 20, 2025

This adds linear and log-linear solutions to IRAF MULTISPEC format. Since the implementation is shares with the simpler IRAF formats (which had only linear, but not log-linear before), they gain the log-linear solutions as well.

This is one step towards #229. The MUTLISPEC format is often used for echelle spectra and linear solutions for that are common in the wild (e.g. KECK HIRES pipeline).

This adds linear and log-linear solutions to IRAF MULTISPEC format. Since the implementation is shares with the simpler IRAF formats (which had only linear, but not log-linear before), they gain the log-linear solutions as well.

This is one step towards astropy#229. The MUTLISPEC format is often used for echelle spectra and linear solutions for that are common in the wild (e.g. KECK HIRES pipeline).
With this change, a test that previously raised a NotImpelementedError now passes.
Also, formatting changes to make the linter happy.
@hamogu hamogu force-pushed the io_multispec_linear branch from 1e00159 to 667f11d Compare July 22, 2025 17:08
@rosteen
Copy link
Contributor

rosteen commented Jul 23, 2025

Thanks for the contribution, I haven't gotten a chance to look at the code yet but I'll review and get this in before the next release (hopefully later this week or early next week).

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