astropy / specutils

An Astropy coordinated package for astronomical spectroscopy. Maintainers: @rosteen @keflavich @eteq
http://specutils.readthedocs.io/en/latest/
169 stars 127 forks source link

Specutils doesn't open (gildas) CLASS-generated FITS spectra #160

Open tomr-stargazer opened 7 years ago

tomr-stargazer commented 7 years ago

Hi all, I'm working with millimeter-radio spectra from the IRAM 30m telescope, and my FITS spectra were generated by CLASS (part of the gildas package). When I try to load a CLASS-exported FITS file into specutils, it chokes on a SingularMatrixError. (Further details in this gist, including the FITS header in question.)

The spectrum is attached (and zip'd): spectrum.zip

@keflavich recommended I file an issue here so here it is. (:

teuben commented 5 years ago

heads up, I've started some work reading in SDFITS files , still exploratory

mcara commented 4 years ago

Setting CDELT2, CDELT3, and CDELT4 in the header to 1 allows the WCS object to be created. It is not surprising that the resulting WCS transformations are undefined when pixel scales are set to 0 (at least along some dimensions).