HELP ON IRAF use for the 1.5m echelle data taking and analysis July 31, 2008 A.Tokovinin ------------------------------------------------------------ 1. Taking the data (IRAF in the blue window) --------------------------------------------- Preparation: cl> mkdir '080527' [make night's directory] cl> cd '080527' cl> setdet f+ [to change y-range if needed. xstart=1, xsize=2048 always] cl> obspar [to change picture number and root filename] Observing: cl> observe [or: cl>obj to take exposure] cl> more repeat cl> stop [to stop exposure] 2. Setting up data analysis window ----------------------------------- Open Ximtool (menu right-click) In the data-analysis window (brown), do the following: - cl> set stdimage =imt2048 [to display the spectra correctly] - change to the data directory: cl> cd XXXX 3. Display and analyse the data --------------------------------- cl> display obj001 1 [zs- z1=6000 z2=10000 for fixed intensity scaling] cl> imexam With cursor placed in the Ximtool, useful commands are: ? - help q - quit c - column plot l - line plot r - radial plot v...v - vector cut between two points j - fit Gauss in line direction k - fit Gauss in col. direction a - aperture photometry, centroid o - overplot next graph cl> imheader l+ | page [to display FITS header] 4. Convert images to FITS format --------------------------------- 1. Using wfits: cl> wfits obj001.imh obj001.fits 2. Using imcopy: cl> imcopy obj1001.imh obj1001.%imh%fits% 3. Scripts by J.Cuedes 3.1. Movedata (list-driven): # 1. Move to data directory # 2. generate a list of images without extension # name in the data directory: # $ls qa*.imh | sed 's/.imh//' > list.lis # # 3. to run this script in IRAF: # cl> movedata list.lis "080527" 3.2. Moveall (all files) # 1. Move to data directory # 2. to run: # cl> moveall "080527" This script creates fits files and moves them to /u600/v17/080627/, thus does not use the disk space for many fits files. The "080527" target directory must be created first. Do not forget to clean up the images when they are copied and backed-up: cl>imdel *.imh verify=no ----------------------