View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Iraf and Fuse data

Guest wrote on Oct 15, 2008

Hello everybody,

I am looking at some calibrated Fuse spectra and wondering how I can read it using Iraf. They are FITS binary table and an example of such a file is

F02001010011asic4ttagfcal.fit

Looking through the Iraf help pages give me this task under stsdas.hst_calib.ctools:

tomultispec - Create an OIF MULTISPEC file for data from FITS BINTABLEs. [ctools]

Does anyone have any experience on this? By the way what is OIF? The guy at the Fuse website said that they don’t write any special tasks in Iraf . I look forward to your suggestions.

Siti :)

Guest wrote on Oct 15, 2008

More details : The primary HDU for the data contains only the header keywords and the 1st extension, HDU 2 contains WAVE, FLUX, ERROR, COUNTS, WEIGHTS, BKGD, QUALITY (Dixon et al. 2007). I can read the image header doing
cl> imhead F02001010011asic4ttagfcal.fit l+ | page
but I can't even see the contents of this table when I use for example tables.ttools.tprint:
tt> tprint F02001010011asic4ttagfcal.fit columns = "WAVE FLUX ERROR"
Warning:
Why is this so? I want to get the data into MULTISPEC i.e file.ms.fits so I can do tasks such as SPLOT, SCOMBINE etc. Please help! Thanks. :shock:

Francisco Valdes wrote on Oct 15, 2008

Hi,

I can't tell you specifically what to do but it should be possible to figure out a way. For working with binary tables and converting to other things like text or even images your have found the right package, ttools.

The only other thing to offer is that a search of the forums for historical mail on Fuse turned up http://iraf.net/phpBB2/viewtopic.php?t=83087

Yours,
Frank Valdes

Guest wrote on Oct 15, 2008

Hello Frank,

Referring to that post, I had in the past successfully used rspectext to convert fuse spectra to .fits images after the spectra were converted to .dat format using IDL. But now I have the spectra in binary table. I use ttools to look at the contents again, somehow I got

tt> tprint F02001010011asic4ttagfcal.fit columns = "WAVE FLUX ERROR"
# Table F02001010011asic4ttagfcal.fit[1] Mon 12:15:31 20-Oct-2008

# row flux
#

1 INDEF

tt> tinfo F02001010011asic4ttagfcal.fit
# F02001010011asic4ttagfcal.fit[1]
1 rows written to table
1 columns defined
11 header parameters written to table
35 records allocated for header parameters
1 space allocated for column descriptors
table type: fits

Despite what I was told, I did find some old (2000) IRAF scripts on Fuse data at

http://fuse.pha.jhu.edu/analysis/IRAF_scripts.html

I am checking this out. Thank you.

Siti :o

Last post on Oct 15, 2008