X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 25 Jun 2015 02:16 AM by  anon
Multi extension FITS file
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
25 Jun 2015 02:16 AM
    Hello all, I have a multi extension fits file that contains reduced astronomical data. I'm using an already built program to analyze the data but the important data (along with the necessary header) is stored in extension=1 while the program is by default looking in extension=0. Beside from changing to program code (which I can't do) is there a way to make it read the right extension? Thanks in advance, Amir

    Zachary Norman



    Basic Member


    Posts:173
    Basic Member


    --
    25 Jun 2015 03:24 PM
    Hi Amir, All of the documentation that I could find regarding FITs files was for third party extension libraries (specifically Astrolib). We do not support these libraries and if you have questions about their functionality you will need to get in touch with the developer of Astrolib.

    Deleted User



    New Member


    Posts:
    New Member


    --
    25 Jun 2015 11:43 PM
    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
    You are not authorized to post a reply.