next up previous
Next: Dressing Up Your Spectrum
Up: A More Complete Introduction to SPECX
Previous: Closing in on your spectrum; interactive vs non-interactive modes

A note on command line syntax

 This may be a little tedious by now, so this may be a good time to introduce the notion of dispensing with the chatter of the question-and-answer mode. Once you know what questions SPECX will ask you can provide the answers before being asked on a command line. Thus, to set the plot scales above you would type

$\gt\!\gt$ s-p-sc\n\-50 50\n\-5 50\

and to reset the scales to fully automatic

$\gt\!\gt$ s-p-sc\y\y\

Note that the command itself has been shortened to the minimum-matching level. If you truncate the command too much SPECX will inform you of all the commands meeting your ambiguous specification. The backslashes separate command line parameters. They do not have to be present in this particular case i.e. $\gt\!\gt$ s-p-sc y y

would do. However, it is better to have them there within command files, especially where a command calls for multiple inputs. Otherwise the results may be a little strange on occasion.

Parameters may be omitted altogether if you want to take the defaults, or the previous settings. In this case one can either use the placeholder symbol #:

$\gt\!\gt$ s-p-sc\n\#\n\#\

or nothing at all:

$\gt\!\gt$ s-p-sc\\\\\



next up previous
Next: Dressing Up Your Spectrum
Up: A More Complete Introduction to SPECX
Previous: Closing in on your spectrum; interactive vs non-interactive modes

Specx Cookbook Reduction of millimetre wave data
Starlink Cookbook 8
Henry Matthews, Tim Jenness
1st March 1997
E-mail:ussc@star.rl.ac.uk

Copyright © 2005 Council for the Central Laboratory of the Research Councils