1. Run trsdate yyyy.mmdd to put yourself in the correct working directory The date is saved as a parameter, so if you have to leave IRAF for some reason, or make sure that you are in the right directory, all you have to to is type tres> trsdate Date for images (now=today) (2009.0311): [return] tres> pwd /home/user/tresq/2009.0311 2. Run trsgroup to make lists of similarly configured files. Run this after several FLAT and COMP exposures have been made. If trsgroup.redo=yes, the default value, th old lists and data.db file will be deleted and new, updated lists will be written. 3. Run ftres on lists of similarly configured flat files (FLATmb12x40.list, for example) For the first night of a run or if the fibers have been moved, run this interactively: tres> ftres FLATmb12x40 sumspec+ makeref+ interact+ See tmakeref/ for an example of how to set up the aperture reference files. 4. Run ttres on multiple exposures at the beginning of the night to get night references for each configuration. To set a medium fiber binned standard from three exposures, for example tres> cat COMPmb12.list 0035.COMP.fits 0036.COMP.fits 0037.COMP.fits 0062.COMP.fits 0096.COMP.fits 0124.COMP.fits tres> ttres 35-37 compstd="sum" compid+ compstd="sum" will run tcal1 to fit dispersion functions for both apertures of the summed calibration file. compid+ should put you in interactive mode to examine the lines which are found and the fit the ecidentify task gets to them.