Tuesday, October 25, 2016

How to load Herschel FITS files into CLASS

I think I need to load some Herschel / HIFI data into CLASS. I retrieved it today (October 2016) from the Herschel Science Archive.

I'm using this as a starting point
http://iram-institute.org/medias/uploads/class-herschel-fits.pdf

and will update this post if I learn anything.

Update #1:

I'm finding this page super critical:
http://herschel.esac.esa.int/twiki/bin/view/Public/ExportingDataProducts

and especially the "CLASS" block, which contains the following code snippet:

file out MyHIFISpectra.hifi mul
    fits read MyHIFISpectra.fits
#
# Now you have a CLASS file named MyHIFISpectra.hifi (you can use whatever you want as an 
# extension) you can access like you always do in CLASS:
#
    file in MyHIFISpectra.hifi
    find
    get first
    set unit f i
    device image white
    plot

No comments:

Post a Comment