Making Finding Charts With WIDL |
widl is a package of idl procedures written to create finding charts from FITS file data. It is designed to be used with the output of getimage and is available on any CfA CF Linux or Solaris machine. See also opchart, a Perl script written by Emilio Falco and Norm Grogin to create a label page for each set of four finding charts. Add /data/oiropt/bin to your search path to get getimage. Before You StartSet up the proper paths to access IDL and this program:setenv WIDL_STARTUP /data/astrodata/chart/xspam.ini alias widl "idl $WIDL_STARTUP" setenv IDL_DIR /opt/rsi/idl # latest IDL version setenv IDL_PATH \+$IDL_DIR/lib:\+$IDL_DIR/user_contrib [the plus sign will find routines in the subdirectories] Example
Remarks:To make 4 charts per page, type:makeps4,/fits,/invert,/labelFor every 4 FITS files in the directory, one *.ps file will be created and then psnup will be run to convert the postscript file to one with four images per page whose file name will start with "4". With makeps4, you can use a file for input by specifying list: makeps4,/fits,/invert,/label,/list This will process only the fits files listed in a file called "fits.list", not all the files in the directory. For four charts per page, print only the 4*.ps files. To control the intensity levels in the plot, use makepsint: makepsint,/fits,/invert,/label,newdatamin=1000,newdatamax=5000
Color Map ErrorSometimes you will get the following error when running widl: XSPAM 2.1> makeps,/fits,/invert,/label % Attempt to subscript R withThis generally indicates that your colormap has become corrupted. Try exiting color-intensive applications (like Netscape) and then start widl again. If that doesn't fix it, exit openwin and then try again. Undefined procedure errorNote: makeps uses the IDL Astronomy Library routines which are now stored in subdirectories of /opt/idl/[IDL version]/user_contrib/astron/pro.Your IDL_PATH environment variable should include \+$IDL_DIR/user_contrib/astron/pro (the plus sign will find routines in the subdirectories) to work correctly. Last modified on December 30, 2011 by Jessica Mink |