aboutsummaryrefslogtreecommitdiff
path: root/noao/nproto/doc/mkms.hlp
blob: 078480a4f0ef1f60b8a4d856a15b659e83f14fb1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
.help mkms Jan03 noao.nproto
.ih
NAME
mkms -- make multispec format from 1D arrays with associated bands
.ih
USAGE
mkms output spectra raw background sigma
.ih
PARAMETERS
.ls output
Name of output multispec image.
.le
.ls spectra
List of primary 1D spectra to be included in multispec image.
.le
.ls raw
List of 1D raw or secondary spectra.  If none specify "" otherwise
the list must match the list of primary spectra.
.le
.ls background
List of 1D background spectra.  If none specify "" otherwise
the list must match the list of primary spectra.
.le
.ls sigma
List of 1D sigma spectra.  If none specify "" otherwise
the list must match the list of primary spectra.
.le
.ih
DESCRIPTION
MKMS creates a multispec format from 1D spectra.  Unlike SCOPY it
can include associated spectra.  There can be any number of primary 1D
spectra and the associated spectra are optional.  However, when
associated spectra are specified the list must match the primary spectra
list and the arrays must have the same number of pixels and dispersion
as the primary spectrum.  The different spectra may have different
dispersions.

This is a simple script using SCOPY and IMSTACK.  It has minimal error
checking.  In particular, if the set of input is not consistent the
task will abort with an error leaving temporary files behind.
.ih
EXAMPLES
1. To create an image with one spectrum and each of the associated types:

.nf
    cl> mkms out.ms spec rawspec bkgspec sigspec
.fi

2. To create an image with three primary spectra and error arrays:

.nf
    cl> mkms out.ms spec1,spec2,spec3 "" "" err1,err2,err3
.fi

.ih
REVISIONS
.ls MKMS V2.12.2
This prototype task added for this release.
.le
.ih
SEE ALSO
scopy, imstack
.endhelp