const char isaac_sp_extract_version[] = "$Revision: 1.5 $"; const char isaac_sp_extract_date[]= "$Date: 2001/07/31 07:26:34 $"; int isaac_sp_extract_main(void * d); cmdline_spec isaac_sp_extract_cmd[] = { {'o', "output", "Output file", 1, "outfile"}, {'w', "width", "Spectrum width", 1, "width"}, {'s', "sky_width", "Sky width", 1, "sky_width"}, {'p', "spec_pos", "Spectrum position", 1, "spec_pos"}, {'d', "sky_dist", "Sky distance", 1, "sky_dist"}, {'n', "nograph", "Flag to disable graph output", 0, NULL}, {0, 0, 0, 0, 0} }; const char isaac_sp_extract_man[]= "\n" "NAME\n" " sp_extract - spectrum extraction\n" "\n" "SYNOPSIS\n" " sp_extract [options] \n" "\n" "DESCRIPTION\n" " The command extracts a spectrum at a given position in a\n" " combined image. The command takes as parameters an input\n" " image name, a table name and the position of the spectrum.\n" "\n" "ALGORITHM\n" " The following steps are performed:\n" " 1/ Wavelength calibration using the physical model.\n" " 2/ Extracts the spectrum and gets rid of the residual sky.\n" " 3/ Write the result in a TFITS table.\n" " 4/ Display the result with gnuplot.\n" "\n" "OPTIONS\n" " --output or -o outfile\n" " to specify the output file base name\n" "\n" " --width or -w\n" " to specify the spectrum width.\n" "\n" " --sky_dist or -d\n" " to specify the distance of the estimated residual\n" " sky.\n" "\n" " --sky_width or -s\n" " to specify the width of part of the image used to\n" " estimate the res. sky.\n" "\n" " --spec_pos or -p pos\n" " pos is the position where the spectrum is. Default is 512\n" "\n" " --nograph or -n\n" " Flag to disable the output graph\n" "\n";