X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 09 Jul 2014 02:03 PM by  anon
READFITS syntax error
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
09 Jul 2014 02:03 PM
    readfits('imageName.fits',hd,/EXTEN,/silent) I get the error: readfits('imageName.fits',hd,/EXTEN,/silent) ^ % Syntax error. *note: the '^' is positioned below /EXTEN

    Deleted User



    New Member


    Posts:
    New Member


    --
    15 Jul 2014 11:52 AM
    Dear bs3w6, Are you calling the routine like this?: a=readfits('imageName.fits', hd, /EXTEN, /silent) Did you try the example at the end of the page here: http://www.exelisvis.com/docs/readfit... Have you try instead giving a value to EXTEN: a=readfits('imageName.fits', hd, EXTEN=1, /silent) Just to remind you that this are third party routines, that they don't come with the IDL package. I hope that helps. Cheers. Fernando
    You are not authorized to post a reply.