next up previous contents index
Next: Binary Data: mrdfits.pro Up: Accessing FITS Files: IDL Previous: Primary FITS Headers: headfits.pro   Contents   Index

Image Data: readfits.pro

The primary image extension is accessed with the readfits.pro function. This function automatically scales the raw pixel values with the FITS standard BZERO and BSCALE parameters. Image display is accomplished with the rdis_setup.pro and rdis.pro routines.

IDL> im=readfits('filename.fit',hdr)    ;the hdr (header) argument is optional.

IDL> rdis_setup,im,pls                 ; set up the rdis plot structure

IDL> rdis,im,pls                        ; plot the image with hist. eq.



Rotse Pager 2003-05-20