TRSPLOT (Feb2021) tres TRSPLOT (Feb2021) NAME trsplot -- Use rvsao.emsao to plot a TRES spectrum USAGE trsplot spectrum PARAMETERS spectra = "" List of file names of spectra to plot order = 1-10 Range of Echelle orders (as aperatures) to plot specdir = "" Directory for spectrum to plot ablines = "" File of emission lines to label. emlines = "treslines.dat" File of emission lines to label. emcombine = "" File of combined emission lines to label. linedir = "tres$lib/" Directory for lines to label nsmooth = 0 Number of times to smooth spectrum. 10 is typical, but use 0 if you really want to see how close to the line centers you are getting. logfiles = "STDOUT,tresplot.log" List of log files debug = no Run EMSAO in debugging mode (yes or no) DESCRIPTION TRSPLOT runs rvsao.emsao without fitting lines in the spectrum and displays the spectrum, allowing it to be examined, edited, judged, and/or re-cross-correlated. CURSOR COMMANDS a Set redshift guess from absorption line b Set blue limit of line search c Change continuum parameters d Delete data between 1st and 2nd positions (used twice) e Set redshift guess from emission line f Refit redshift g Number of times to smooth plotted spectrum h Toggle print of heading with filename and redshift i Change initial velocity for search j Conditional velocity k Plot continuum-subtracted spectrum l Line search parameters m Number of times to smooth fit spectrum n Disapprove velocity o Turn line labelling on and off p Replot current graph q Leave plot r Set red limit of line search s Set VELOCITY to a specific value t Switch template for correlation velocity u Unzoom v Plot at e>mission x>correlation c>ombined velocity w Show rest and observed wavelengths x Plot correlation if available or exit y Approve velocity z Zoom between 1st and 2nd positions (used twice) . Cancel delete or zoom after first d or z / Toggle plot between full screen and lines + Add emission line to fit - Subtract emission line from fit ( Plot previous aperture or order > Plot next aperture or order @ Make hard copy of screen ? Display this menu EXAMPLES To plot a spectrum, tres> trsplot 0031.COMP_fib1.ec.fits |