specutils icon indicating copy to clipboard operation
specutils copied to clipboard

Read in IRAF FITS format (including multispec)

Open andycasey opened this issue 6 years ago • 5 comments

👋

I have some code (that @alexji and I maintain) that reads in IRAF FITS format of various types (chebyshev, legendre, polynomial, etc) that I'd be happy to update and create a pull request to bring it into the astropy ecosystem. It handles various dispersion mappings and multispec formats.

Would this be useful? If so, am I right in assuming that I should introduce it as an adapter in the specutils/wcs?

andycasey avatar Jun 12 '18 23:06 andycasey

Hey @andycasey! We do have an implementation for reading IRAF FITS format in the previous specutils iteration, although it has not been brought over to the new specutils yet.

If you're interested, I would encourage you to see if merging the two implementations to perhaps improve upon what we both have is possible.

You would not need to create a new wcs adapter, as it's still a FITS file, and should follow the FITS wcs paradigm.

nmearl avatar Jun 13 '18 16:06 nmearl

I think @simontorres was also working on this in #192

crawfordsm avatar Jun 15 '18 16:06 crawfordsm

Yes, what I have done is mostly for reading non-linear wavelength solutions.

simontorres avatar Jun 15 '18 19:06 simontorres

Hi all,

I was wondering if there is already a way (an implementation) to read multispec IRAF spectra with the new astropy/specutils versions?

travegre avatar Feb 15 '21 16:02 travegre

I implemented some of the features some time ago but I'm not sure how it's working now or whether it survived all the recent changes in the package or maybe someone improved it.

Either way I must say it's tricky, at least that was my experience.

simontorres avatar Feb 15 '21 18:02 simontorres