To Use IDL ========== (with all of our group's routines defined) (A) Modify your .cshrc file in you home directory to add the following: setenv DEEPHOME /home/astro9/deephome source $DEEPHOME/bin/idl_setup # Set up CVS setenv CVSROOT $DEEPHOME/master (B) To start up idl you simply type 'idl' and it will come up with all of our code precompiled. this can be typed from within any directory. Note: the DEEPHOME environmental variable is set to a directory that contains all of our code, apm catalogs, database and so on. (C) To change the code in our distribution or to add code you follow these steps: 1) go to your home directory 'cd ~' 2) check out the code 'cvs checkout idlpro/freduceimage' ) edit file 4) update yourself with the master copy, in case anyone else is working on the same program. 'cvs update' from within idlpro 5) commit changes 'cvs commit' ______________________________________________________________________________ Note: some commonly used code has changed its name as well as the internal workings irfits,nirfits,integerfits,etc. (image reading and writing routines) have been replaced by readimage and writeimage. the syntax is: readimage,a,im,'file.fts' writeimage,a,im,'file.fts' writeimage will find a place on disk where there is enough room unless you specify a full path name, relative path names won't work it will just find a place to put it anyway. reduceimage performs the equivalent function as register did previously, except that it nows matches the field to an apm catalog field. reduceimage,a,im,pho transimages performs the equivalent function as transistor did prevously transimages,[1,2],[image1.fts,images2.fts] once the image has been passed through reduceimage you can use transpho to transform your x and y coordinates into ra and dec coordinates in decimal degrees (epoch 1950) by typing this. radecpho = transpho(a,0,phoa) x and y as well as cmx and cmy will be in ra and dec respectively