emplot: Plot a spectrum with emission velocity and labelled lines

Package: rvsao

Usage

emplot spectra

Parameters

spectra = ""
List of file names of spectra to plot
specband = 0
Spectrum band to plot. If 0, plot the first or only spectrum in the file.
specnum = ""
Spectrum aperture range to plot
specdir = ""
Directory for spectrum to plot
emlines = "emlines.dat"
File of emission lines to label.
ablines = "ablines.dat"
File of absorption lines to label.
linedir = "rvsao$lib/"
Directory for lines to label

Description

EMPLOT runs EMSAO without fitting lines in the spectrum and displays the spectrum with lines labelled and previously-obtained results, if any. Type "q" to go on to the next spectrum in a list. Type "?" or space to get a menu of cursor commands.

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
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
.  Cancel delete or zoom
/  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,

cl> emplot galaxy.ms.fits

To plot a whole night's worth of spectra:

cl> emplot @nite1.ls

Bugs