const char isaac_lw_spjitter_version[] = "$Revision: 1.6 $"; const char isaac_lw_spjitter_date[]= "$Date: 2001/07/31 07:26:34 $"; int isaac_lw_spjitter_main(void * d); cmdline_spec isaac_lw_spjitter_cmd[] = { {'o', "output", "Output file", 1, "outfile"}, {'g', "generate", "Generate Mode", 0, NULL}, {'t', "timing", "To check execution time", 0, NULL}, {'c', "calname", "Calibration ASCII file", 1, "cal_file"}, {'f', "ininame", "INI file name", 1, "ini_file"}, {0, 0, 0, 0, 0} }; const char isaac_lw_spjitter_man[]= "\n" "NAME\n" " lw_spjitter - isaac jitter spectroscopic reduction\n" "\n" "SYNOPSIS\n" " lw_spjitter [flags] [options] infile\n" "\n" "DESCRIPTION\n" " lw_spjitter reduces images taken in jitter spectroscopic\n" " LW mode. It has a list of several possible algorithms with\n" " associated parameters for each reduction stage.\n" "\n" " lw_spjitter has been developped to reduce jitter spectro­\n" " scopic data taken from ISAAC in LW mode. Although some\n" " features are specific to this instrument, the same algo­\n" " rithms should work on similar data.\n" "\n" " lw_spjitter is configured through an initialization file.\n" " The name of this file is defaulted to lw_spjitter.ini but\n" " can be changed through the use of the -f option. In the\n" " following documentation, this file is referred to as the\n" " ini file.\n" "\n" "PROCESS\n" " The reduction process is composed by files classification,\n" " correction of the distortion, re-centering of the frames, \n" " flatfield correction, averaging, wavelength calibration,\n" " frames combination, detection, extraction of a spectrum.\n" " Describing all the algorithms in this command is far\n" " beyond the scope of this manual page.\n" " A documentation about the lw_spjitter algorithm (will be\n" " available on the eclipse web site) is in progress at the\n" " moment.\n" "\n" " To setup the process, you need first to generate a default\n" " lw_spjitter.ini file and then change parameters according\n" " to your needs. This initialization file is self-docu­\n" " mented.\n" "\n" "FLAGS\n" " Flags which can be activated on the command-line are the\n" " following:\n" "\n" " -t or --time\n" " Activate time estimation tools. This actually trig­\n" " gers a clock when the process is running and pro­\n" " duces duration estimations in CPU and user time at\n" " the end.\n" "\n" "OPTIONS\n" " -f filename\n" " Changes the name of the ini file from lw_spjit­\n" " ter.ini to filename. This option is compatible\n" " with all other options.\n" "\n" " -g or --generate a.ini\n" " Generates a default ini file in the current direc­\n" " tory. a.ini is the name of the produced INI file\n" "\n" " -h or --help\n" " Displays a short reminder of possible options and\n" " flags.\n" "\n" " -c or --calname calfile\n" " This option is used to specify a calibration ASCII\n" " file in which are specified the calibration file\n" " names in the firste column and their types in the\n" " second one.\n" "\n" " -o or --output outfile\n" " outfile is the output files base name\n" "\n" "FILES\n" " The ini file which is generated by using the -g option is\n" " self-documented, all parameters are described in the file\n" " comments.\n" "\n" " The ini file consists of [Sections] followed by\n" " keyword = value lines.\n" "\n" " Section names and keywords are case-insensitive. Values\n" " associated to keywords may be integer, floating point num­\n" " bers, character strings, or flags. Types associated to\n" " keywords are usually indicated in the comment section.\n" " Character strings as keyword values are case-sensitive.\n" " Flags are given as Yes/Y/yes or No/N/no.\n" "\n" " Comments in the ini file are identified by lines starting\n" " with a hash (#) sign, and generally everything after a\n" " semicolon (;) and before the end of the line. The semi­\n" " colon is not mandatory, the two following lines are\n" " strictly equivalent:\n" "\n" " ExposureTime = 1000 ; integer value in seconds\n" " ExposureTime = 1000\n" "\n" " Character strings are better given between double quotes,\n" " but these are not compulsory. Without quotes, lw_spjitter\n" " will understand as a character string any character\n" " between the first and last non-blank characters. The fol­\n" " lowing declarations are equivalent, although the first one\n" " should be preferred to avoid confusions:\n" "\n" " Keyword = \"HIERARCH ESO INSTRUMENT NAME\" ;\n" " Keyword = HIERARCH ESO INSTRUMENT NAME ;\n" "\n" "\n";