ISIS to .dat o.fit

ISIS to .dat o.fit

Postby Andrew Smith » Mon Dec 14, 2020 1:14 pm

I have converted some CALSPEC spectrophotometry standatds to .dat as they are in Fits table format.

I have tried converting to normal fits using the ISIS-> profile -> save function and saving as .fit However I find there seems to be an error in the conversion. See the comparison.

ISIS Dat to Fit.png
ISIS Dat to Fit.png (44.46 KiB) Viewed 1042 times


Here is an image of the start of the .dat file
ISIS Dat to Fit1.png
ISIS Dat to Fit1.png (27.1 KiB) Viewed 1042 times


I think the issue is that ISIS is assuming a constant increment looking at the full .dat file the increment varies.

Regards Andrew
Andrew Smith
 
Posts: 319
Joined: Fri Sep 30, 2011 12:23 pm

Re: ISIS to .dat o.fit

Postby David Boyd » Mon Dec 14, 2020 6:04 pm

Hello Andrew,

When I converted the NGSL files from FITS table format I had the same problem. I defined a regular wavelength spacing and quadratic interpolated the original flux grid onto that using interp1d to produce the simple FITS file version.

David
David Boyd
 
Posts: 140
Joined: Wed Dec 11, 2013 5:50 pm


Return to Software ISIS

Who is online

Users browsing this forum: No registered users and 1 guest

x