Back to Table of Contents

Programs

Introduction

COSMOS includes programs to (1) calculate and adjust the mapping between the CCD focal plane and the science plane (wavelength vs slit coordinate) (2) reduce data, (3) provide quick-look capabilities, as well as some utility programs. All programs have a specified set of input parameters which may be entered on the command line. If more than one input parameter is required, they are denoted by flags and may be entered in any order. Alternately, if no parameters are specified, the program will prompt for them. Most programs have an associated parameter file, whose name is program.par. The parameters in each parameter file are listed with each program. Parameter files may be edited with the utility program editpar. Parameter files must be located in the directory specified by the environment variable COSMOS_PAR_DIR. IRAF routines which are part of the COSMOS packages follow IRAF conventions for input parameters and parameter files. However, although each of the routines with names irafroutine8 does have a parameter file, one should instead use the IRAF routine epar to edit the parameter file for the standard IRAF program irafroutine.


Utility Programs

Setup/Alignment Programs

Mapping Programs

Display/Visualization Programs

Reduction Programs

Quick Look and Analysis Programs

IRAF Routines

Miscellaneous Programs


Program Syntax

adjust-map  -m mapfile -f framename[s][-d n]
adjust-offset  offsetfile delx dely [delth scale]
align-mask  -o observset -f framename
apertures  -o observset -b binning
badorders  -o observset [-i input_badpixel_file] -f output_badpixel_file
biasflat  [-b biasfile] [-f flatfile] framename[s]
display8*  framename buffer[z1 = lower-intensity z2 = upper-intensity]
defineobs  [observset]
editpar  program
extract-2dspec  -m mapfile -f framename
extract
ifu-image  framename
ldss3-pattern  framename
map-spectra  observset
mosaic  framename
quick-list
process-2spec  [spectrum set]
setcosdir
Sflats  -m mapfile -f flatfile[s] [-o outputfile] [-z badpixfile]
spec2big  framename
spectral-lines  -o observset -l linefile -b binning[-c] [-e]
spectral-map  -m mapfile -l linefile -b binning[-c] [-e]
stitch  framename
sumspec  -o outputfile(_1spec or _2spec) inputfiles
subsky  -f framename -m mapfile [-z badpixfile] [-d]
viewspectra

* IRAF routine


Next: Using the Software

Back to Table of Contents