DEIMOS
consort2 script

Name

consort2 -- print sorted list of current configurable elements

Purpose

Output a list showing which filters, gratings, and/or
slitmasks are currently loaded. By default, prints out all
list of slitmasks, gratings, and science filters.
Use command-line flags to select only certain types or to
suppress labels.

Usage

consort [-s] [-f] [-g] [-t] [-n]

Arguments

-s = show slitmask list
-f = show filter list
-g = show grating list
-t = show tv filter list
-n = print no labels (only element names)

Output

The list of requested elements is printed to STDOUT

Restrictions

Dependent on information obtained from the DREMEL output file
mapRON.cfg

Exit values

0 = normal completion
1 = wrong number of arguments

Example

1) Print the list of all elements:
[101] deimos@polo> consort
# GRATINGS
1 NonOp
2 Mirror
3 1200G
4 600ZD
# FILTERS
1 GG455
2 V
3 R
4 Z
5 BAL12
6 I
7 OG550
# SLITMASKS
2 2219.E
3 Long1.0
4 2152.W
5 2149.W
6 2155.WB
7 3152.E
8 GOH_foo
9 3155.E
10 3217.W
11 3211.W
12 3215.W
13 Empty_13

2) Print the list of gratings:
[102] deimos@polo> consort -g
# GRATINGS
1 NonOp
2 Mirror
3 1200G
4 600ZD

3) Print the list of slitmasks, with no labels:
[103] deimos@polo> consort -n -s
2219.E
Long1.0
2152.W
2149.W
2155.WB
3152.E
GOH_foo
3155.E
3217.W
3211.W
3215.W
Empty_13

See Also

The shell script consort2
DEIMOS script index


Go to: DEIMOS Home Page - Instruments Home Page - Keck Home Page

Last modified: Thu Mar 22 15:32:41 2012