Closed SherelynA closed 2 years ago
try format = 'tabular-fits'
instead of wcs1d-fits
I tried that too and I get a list index out of range error:
@kelle
what about 'iraf' ?
I got an error with that too
In that case, I think you'll need to read in the file with fits.open and make the Spectrum1D object by hand. We can discuss at coworking tomorrow. I can make it 3-4pm and I'll be at Hunter
From looking at the paper, I think the units are nanometers and erg/cm^2/s/nm.
I have been trying to add a spectrum from the Manja16 ingest for the object SIMP J0136+09 to an sed however sedwithsimple is unable to parse the spectrum: https://bdnyc.s3.amazonaws.com/xshooter/IPMS0136_total.fits. It looks like this when I used . This is the message that shows up for both the optical and nir entry. I tried to use specutils to make the file into a spectrum1D object and then just manually provide it to sed however when I try to do so, the wavelength of the object is just [1.,2.,3.] Angstroms as shown : , so when I try to add it after using s.add_spectrum(), I received a message that the length of the given wavelength and flux are not the same. Is there another way to add this spectrum?