Hi Amir,
Do you use MRDFITS? It's part of the IDL astronomy user's library. You can use this function to read a .FITS data file and can easily specify the extension. To call extension 1 you would just do:
cat=mrdfits(path_to_file+file_name.fits, 1)
Hope this helps.
Best,
Laura
|