/*---------------------------------------------------------------------------- File name : products_info.c Author : Y. Jung Created on : April 2001 Description : Gives informations on ISAAC products ---------------------------------------------------------------------------*/ /* $Id: products_info.c,v 1.5 2001/07/03 14:32:25 ndevilla Exp $ $Author: ndevilla $ $Date: 2001/07/03 14:32:25 $ $Revision: 1.5 $ */ /*---------------------------------------------------------------------------- Includes ---------------------------------------------------------------------------*/ #include "eclipse.h" #include "isaacp_lib.h" /*--------------------------------------------------------------------------- Function prototypes ---------------------------------------------------------------------------*/ static int products_info_engine() ; /*---------------------------------------------------------------------------- Main code ---------------------------------------------------------------------------*/ int isaac_products_info_main(void * dict) { dictionary * d ; char argname[10] ; char * name_i ; int nfiles ; int errors ; int i ; d = (dictionary*)dict ; /* Get options */ /* Get input/output file names */ nfiles = dictionary_getint(d, "arg.n", -1) ; if (nfiles<2) { e_error("missing input file name(s): aborting"); return -1 ; } /* Loop on input file names */ errors = 0 ; for (i=1 ; i2.0) slope are flagged as bad pixels,\n" "and their slope set to 1.\n" "\n" "You can use such a frame in all recipes that accept a flat-field in\n" "input. You must make sure that you are using a flat-field for the\n" "correct observation filter, e.g. flat-fielding a J image with an H\n" "flat-field will corrupt your data.\n" "\n") ; break ; case isaac_imag_sw_flat_badpix: printf( "Produced by: 'isaacp twflat'\n" "\n" "This FITS image is a bad pixel map obtained during twilight flat-field\n" "computation. All pixels which have been found to have an illegal slope\n" "(usually above 2.0 or below 0.5) have been flagged as bad in this image.\n" "The file format is an integer (16-bit) FITS image you can normally\n" "use with other images e.g. to perform arithmetic.\n" "You can use such a frame in all recipes that accept a bad pixel map\n" "in input. You can also use the 'deadpix' command from eclipse to replace\n" "all bad pixels by an average of their valid neighbours.\n" "\n") ; break ; case isaac_imag_sw_flat_interce: printf( "Produced by: 'isaacp twflat'\n" "\n" "This FITS image is an image of all intercepts obtained after a list\n" "of twilight planes were used to fit slopes. The slope itself provided\n" "an estimate of the pixel gain, and these are the zero-intercepts. They\n" "They do not provide any physical information about the detector but\n" "this image might be used as a check image to verify that the fit was\n" "correctly done.\n" "\n") ; break ; case isaac_imag_sw_flat_errmap: printf( "Produced by: 'isaacp twflat'\n" "\n" "This FITS image is an error map obtained from the fit of a list of\n" "twilight frames. It does not have any physical meaning, it is just\n" "there to get an idea about the fit quality. You will also see rejected\n" "stars in this image.\n" "\n") ; break ; case isaac_imag_zpoint_result: break ; case isaac_imag_zpoint_qc: printf( "Produced by: 'isaacp zpoint'\n" "\n" "This PAF file is the result of a photometric zero-point computation.\n" "It provides a number of informations about the way the data were\n" "acquired, the identified standard star, and the final computed value.\n" "\n") ; break ; case isaac_spec_combine: printf( "Produced by: 'isaacp sp_combine'\n" "\n") ; break ; case isaac_imag_bg: printf( "Produced by: 'isaacp skybg'\n" "\n" "This PAF file is the result of a sky background measurement performed\n" "on ISAAC data frames.\n" "\n") ; break ; case isaac_spec_extract: printf( "Produced by: 'isaacp sp_extract'\n" "\n") ; break ; case isaac_spec_slitpos_table: printf( "Produced by: 'isaacp slitpos'\n" "\n") ; break ; case isaac_spec_slitpos_qc: printf( "Produced by: 'isaacp slitpos'\n" "\n") ; break ; case isaac_dark_result: printf( "Produced by: 'isaacp dark'\n" "\n" "This FITS file is a master dark frame. It has been produced by\n" "combining several raw dark frames of identical DITs, using filtering.\n" "You can use this frame in input for a number of recipes. Be sure to\n" "always use a dark frame with a DIT value identical to the frames you\n" "want to dark-subtract.\n" "\n") ; break ; case isaac_dark_ron: printf( "Produced by: 'isaacp dark-ron'\n" "\n" "This PAF file is the result of a read-out noise measurement performed\n" "on raw dark frames.\n" "\n") ; break ; case isaac_imag_illum: printf( "Produced by: 'isaacp illum'\n" "\n" "This FITS file is an illumination frame. This type of frame is trying\n" "to capture the low-frequency variations of the detector flat-field to\n" "increase photometric precision. You cannot feed this frame directly\n" "in any eclipse recipe, it is up to you to apply it to a given flat-field\n" "to correct it for these variations.\n" "\n" "For ISAAC, these variations have been shown to be almost negligible,\n" "but it might change in the future. Check out the ISAAC Data Reduction\n" "Guide for more information about how to use this kind of frame.\n" "\n") ; break ; case isaac_imag_sw_jitter_result: printf( "Produced by: 'jitter'\n" "\n" "This FITS image is the result of a jitter combination. From a set of\n" "input ISAAC raw frames, the infrared sky has been estimated and\n" "subtracted, then a shift-and-add pass has been performed to combine\n" "all planes to a single image.\n" "\n") ; break ; case isaac_imag_sw_jitter_objs: printf( "Produced by: 'jitter'\n" "\n" "This PAF file summarizes all candidate objects which have been used\n" "in the shift-and-add pass of the jitter algorithm to cross-correlate\n" "frames together.\n" "\n") ; break ; case isaac_imag_sw_jitter_off: printf( "Produced by: 'jitter'\n" "\n" "This PAF file provides the list of offsets as used for the shift-and-add\n" "pass of the jitter algorithm. Included are: input (estimate) offsets,\n" "refined offsets (if refining was requested) and offset errors.\n" "\n") ; break ; case isaac_imag_sw_jitter_diff: printf( "Produced by: 'jitter'\n" "\n" "This FITS cube (NAXIS=3) is a byproduct of the jitter algorithm.\n" "It contains the sky-subtracted input frames. It is useful to check\n" "the results of sky-subtraction in case of doubt.\n" "\n") ; break ; case isaac_imag_sw_jitter_qc: printf( "Produced by: 'jitter'\n" "\n" "This PAF file contains various informations relevant for Quality\n" "Control, like image quality.\n" "\n") ; break ; case isaac_imag_lw_jitter_result: printf( "Produced by: 'lwjitter'\n" "\n") ; break ; default: e_error("PRO CATG key not recognized") ; return 0 ; break ; } return 0 ; }