IRAF help page for package noao.twodspec.multispec, program msset

from NOAO msset -- Set entries in a MULTISPEC databaseUSAGEPARAMETERSDESCRIPTIONEXAMPLESSEE ALSO

msset -- Set entries in a MULTISPEC database


USAGE

msset image keyword value


PARAMETERS

image

Image in which the MULTISPEC database entries are to be modified or initialized.

keyword

Keyword for the database entry to be set. The keywords are:

nspectra

Set the number of spectra in the header.

comments

Add comments lines to the database comment block.

x0

Set the spectra positions for the specified sample lines and spectra.

i0

Set the model profile central intensities for the specified sample lines and spectra.

s0, s1, or s2

Set the gauss5 model shape parameter s0, s1, or s2 for the specified sample lines and spectra.

value

Value to be used for value input.

lines = *

Sample lines to be affected by value input.

spectra = *

Spectra to be affected by value input.

read_list = no

If yes use list input and if no use value input.

list =

List for list input. See the description below for the appropriate format.


DESCRIPTION

The entries in a MULTISPEC database associated with the image are modified or initialized. The parameters image, keyword, and read_list determine the database to be operated upon, the database entry to be set, and the input type. There are two forms of input; list input and value input. The input type is selected by the boolean parameter read_list. For list input the parameter list is used and for value input the parameter value and possibly the parameters lines and spectra are used. The required parameters and input formats for the different keywords are outlined below.

nspectra

For list input the list format is the number of spectra and for value input the value parameter is the number of spectra.

comments

For list input the list format is lines of comments and for value input value parameter is a comment string.

x0, i0, s0, s1, s2

For list input the list format is sample line, spectrum number, and parameter value and for value input lines is a range string selecting the sample lines to be affected, spectra is a range string selecting the spectra to be affected, and value is the value to be set for all the selected lines and spectra.


EXAMPLES

To add several comments to the database by query:

	cl> msset image "comments" read_list+
	Input list> First comment here.
	Input list> Second comment here.
	Input list> 

where is the end of file character terminating the list. To set the value of s0 to 1 for all the spectra in sample line 1:

cl> msset image "s0" 1

To set the spectra positions from a list:

cl> msset image "x0" read_list+ list=positionlist

To add a single comment such as in a script:

cl> msset image "comments" "Comment here."


SEE ALSO

findspectra mslist,


This page automatically generated from the iraf .hlp file. If you would like your local iraf package .hlp files converted into HTML please contact Dave Mills at NOAO.

dmills@noao.edu