View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

How to select some data from FITS Binary Table

SongHuang wrote on Jul 23, 2007

Hi

It's me again, sorry for so many stupid question.......

I got a catalogues which are in the form of FITS Binary Table, at first I try to translate them into plain txt file,but I found after that their size become very giant......which order should I use to work with FITS Binary Table, like select some lists of data into another table?

and about the TMatch procedure, which form of table does it support? FITS binary? TBL or TXT? And what if the table file has a header.......

Thank you very much

SongHuang wrote on Jul 23, 2007

Now I use IDL read data from the FITS binary table and then write it into a .txt file

IDL> fxbopen,unit,file,extension,header
IDL> fxbreadm,unit,['col1','col2'],data1,data2
IDL> fxbclose,unit

It works well, but I still want to know how can I do this in IRAF

Last post on Jul 23, 2007