const char isaac_sp_combine_version[] = "$Revision: 1.6 $"; const char isaac_sp_combine_date[]= "$Date: 2001/09/21 09:23:08 $"; int isaac_sp_combine_main(void * d); cmdline_spec isaac_sp_combine_cmd[] = { {'o', "output", "Output file", 1, "outfile"}, {'f', "flatfield", "Flatfield name", 1, "flatname"}, {'k', "keyword", "Keyword to use", 1, "keyname"}, {'a', "average", "Ouput average flag", 0, NULL}, {'d', "difference", "Ouput difference flag", 0, NULL}, {0, 0, 0, 0, 0} }; const char isaac_sp_combine_man[]= "\n" "NAME\n" " sp_combine - combination of spectra\n" "\n" "SYNOPSIS\n" " sp_combine [options] infiles\n" "\n" "DESCRIPTION\n" " sp_combine combines a set of spectra images so that in the\n" " combined image, all the spectra are superposed at the same\n" " position. No distortion correction computed.\n" "\n" "ALGORITHM\n" " sp_combine expects a list of the same star spectra with\n" " two kinds of images: 2 different positions of the spectra\n" " along the slit are allowed. The program classifies files\n" " in two sets of frames, averages each set, computes the\n" " differences (a-b and b-a) of the two averaged frames, div-\n" " ide each result by the flatfield (if available), shift the\n" " second image to the first one and add the result to obtain\n" " the combined image.\n" "\n" "OPTIONS\n" " -o or --output outfile\n" " outfile is the output files base name\n" "\n" " -a or --average The averaged frames are written in output.\n" " If \"output\" is the output base name, output_aver1.fits and\n" " output_aver2.fits\n" " are the averaged frames.\n" "\n" " -d or --difference The difference images are written in\n" " output. output_diff1.fits and output_diff2.fits are the\n" " image names.\n" "\n" " -f name or --flatfield name The difference is divided by\n" " the flatfield frame.\n" "\n" " -k keyword or --keyname keyword Specify the keyword used\n" " to classify the frames. Default keyword is \"HIERARCH ESO\n" " SEQ CUMOFFSETY\".\n" "\n" "FILES\n" " The default output name is the basename of the input file\n" " followed by \"_comb.fits\". It is possible to specify an\n" " output basename on the command line. All the created files\n" " are FITS files whose header is the same one as for the\n" " input files with some more \"PRO\" keywords written.\n" "\n" "\n" "\n";