Back to Table of Contents

Programs

Introduction

Utility Programs

Setup/Alignment Programs
Mapping Programs
Reduction Programs Quick Look Programs
IRAF Routines

Program Syntax

Program Status



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 paramater file are listed with each program. Parameter files may be edited with the utility program editpar. Unless a full path is specified, parameter files are searched for in the following places (1) the current directory, (2) ~/cospar (3) $COSMOS_HOME/cospar. At the Baade Telescope, a ~/cospar directory will be created for you when you follow the instructions for setting up on either llama or burro.
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.

Program Syntax



adjust-map  -m mapfile  -f framename[s]

adjust-offset  offsetfile  delx  dely  delth

align-mask  -o observset  -f framename

alignholes  -o observset  -b binning

apertures   -o observset  -b binning

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

imcombine8*  inputfile,inputfile  outputfile

ifu-image  
framename

map-spectra  observset

mosaic  framename

quick-list

process-2spec

setcosdir


Sflats  -m mapfile  -f flatfile[s] [-o outputfile]

spectral-lines
 -o observset  -l linefile  -b binning

spectral-map  -m mapfile  -l linefile  -b binning

sumspec  -o outputfile(_1spec or _2spec)  inputfiles

subsky  
-f framename  -m mapfile   [-d]

viewspectra



Note:  * = IRAF routine

 Back to Table of Contents