From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- noao/onedspec/specplot.key | 134 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100644 noao/onedspec/specplot.key (limited to 'noao/onedspec/specplot.key') diff --git a/noao/onedspec/specplot.key b/noao/onedspec/specplot.key new file mode 100644 index 00000000..acb61487 --- /dev/null +++ b/noao/onedspec/specplot.key @@ -0,0 +1,134 @@ + SPECPLOT COMMAND OPTIONS + + SUMMARY + +? Help o Reorder v Velocity plot +a Append spectrum p Position label w Window +d Delete spectrum q Quit x No scaling +e Undelete spectrum r Redraw y Offset layout +f Toggle world/pixel s Shift z Scale layout +i Insert spectrum t Set X scale +l Label u Set wavelength + +:/title :move[#] :ulabel[#|*] +:/xlabel :offset[#|*] :units[#|*] +:/xwindow :ptype[#|*] :velocity[#|*] +:/ylabel :redshift[#|*] :vshow +:/ywindow :scale[#|*] :w0[#|*] +:color[#|*] :shift[#|*] :wpc[#|*] +:fraction :show :xlpos[#|*] +:label :step :ylpos[#|*] + + CURSOR COMMANDS + +The indicated spectrum is the one with a point closest to the cursor position. + +? - Print help summary +a - Append a new spectrum following the indicated spectrum +d - Delete the indicated spectrum +e - Insert last deleted spectrum before indicated spectrum +f - Toggle between world coordinates and logical pixel coordinates +i - Insert a new spectrum before the indicated spectrum +l - Define the user label at the indicated position +o - Reorder the spectra to eliminate gaps +p - Define the label position at the indicated position +q - Quit +r - Redraw the plot +s - Repeatedly shift the indicated spectrum position with the cursor + q - Quit shift x - Shift horizontally in velocity + s - Shift vertically in scale y - Shift vertically in offset + t - Shift horizontally in velocity z - Shift horizontally in velocity + and vertically in scale and vertically in offset +t - Set a wavelength scale using the cursor +u - Set a wavelength point using the cursor +v - Set velocity plot with zero point at cursor +w - Window the plot +x - Cancel all scales and offsets +y - Automatically layout the spectra with offsets to common mean +z - Automatically layout the spectra scaled to common mean + + + COLON COMMANDS + +A command without a value generally shows the current value of the +parameter while with a value it sets the value of the parameter. The +show commands print to the terminal unless a file is given. For the +spectrum parameters the index specification, "[#]", is optional. If +absent the nearest spectrum to the cursor when the command is given is +selected except that for the "units" command all spectra are selected. +The index is either a number or the character *. The latter +applies the command to all the spectra. + +:show Show spectrum parameters (file optional) +:vshow Show verbose parameters (file optional) +:step Set or show step +:fraction Set or show autolayout fraction +:label Set or show label type + (none|imtitle|imname|index|user) + +:move[#] Move spectrum to new index position +:shift[#|*] Shift spectra by adding to index +:w0[#|*] Set or show zero point wavelength +:wpc[#|*] Set or show wavelength per channel +:velocity[#|*] Set or show radial velocity (km/s) +:redshift[#|*] Set or show redshift +:offset[#|*] Set or show intensity offset +:scale[#|*] Set or show intensity scale +:xlpos[#|*] Set or show X label position +:ylpos[#|*] Set or show Y label position +:ptype[#|*] Set or show plotting type +:color[#|*] Set or show color (1-9) +:ulabel[#|*] Set or show user labels +:units[#|*] Change coordinate units (see below) + +:/title Set the title of the graph +:/xlabel Set the X label of the graph +:/ylabel Set the Y label of the graph +:/xwindow Set the X graph range + (use INDEF for autoscaling) +:/ywindow Set the X graph range + (use INDEF for autoscaling) + + +Examples: + w0 Print value of wavelength zero point + w0 4010 Set wavelength zero point of spectrum nearest the cursor + w0[3] 4010 Set wavelength zero point of spectrum with index 3 + w0[*] 4010 Set wavelength zero point of all spectra + + + UNITS + +The units are specified by strings having a unit type from the list +below along with the possible modifiers, "inverse", to select +the inverse of the unit and "log" to select logarithmic units. +The various identifiers may be abbreviated as words but the syntax +is not sophisticated enough to recognized standard scientific abbreviations +such as mm for millimeter. + + angstroms - Wavelength in Angstroms + nanometers - Wavelength in nanometers + millimicrons - Wavelength in millimicrons + microns - Wavelength in microns + millimeters - Wavelength in millimeters + centimeter - Wavelength in centimeters + meters - Wavelength in meters + hertz - Frequency in hertz (cycles per second) + kilohertz - Frequency in kilohertz + megahertz - Frequency in megahertz + gigahertz - Frequency in gigahertz + m/s - Velocity in meters per second + km/s - Velocity in kilometers per second + ev - Energy in electron volts + kev - Energy in kilo electron volts + mev - Energy in mega electron volts + z - Redshift + +The velocity and redshift units require a trailing value and unit defining the +velocity zero point. For example to plot velocity relative to +a wavelength of 1 micron the unit string would be: + + km/s 1 micron + +The syntax :units[#] km/s is available to plot different +(or the same) spectrum with different features at zero velocity. -- cgit