Master flat reduction

Functions

static void uves_reduce_mflat_combine (cpl_frameset *frames, const cpl_parameterlist *parameters, bool flames, const char *recipe_id, const char *starttime)
 Get the command line options and execute the data reduction.
int uves_mflat_combine_define_parameters_body (cpl_parameterlist *parameters, const char *recipe_id)
 Setup the recipe options.
void uves_mflat_combine_exe_body (cpl_frameset *frames, const cpl_parameterlist *parameters, const char *starttime, const char *recipe_id)
 Get the command line options and execute the data reduction.
cpl_image * uves_combine_flats (const cpl_frame *frm_flat, const cpl_frame *frm_dflat, cpl_frameset *frames, bool flames, const int ORDER_THRESHOLD)
 Get the command line options and execute the data reduction.

Variables

const char *const uves_mflat_combine_desc

Function Documentation

static void uves_reduce_mflat_combine ( cpl_frameset *  frames,
const cpl_parameterlist *  parameters,
bool  flames,
const char *  recipe_id,
const char *  starttime 
) [static]

Get the command line options and execute the data reduction.

Parameters:
frames the frames list
parameters the parameters list
flames Called by FLAMES recipe?
recipe_id the recipe name (will be written to FITS headers)
starttime time when calling recipe started
Returns:
CPL_ERROR_NONE if everything is ok

Definition at line 348 of file uves_reduce_mflat_combine.c.

References check, check_nomsg, uves_chip_get_first(), uves_chip_get_index(), uves_chip_get_next(), uves_chip_tostring_upper(), uves_combine_flats(), uves_msg, uves_msg_error, uves_propertylist_duplicate(), uves_propertylist_load(), uves_qclog_delete(), and uves_string_toupper().

Referenced by uves_mflat_combine_exe_body().

int uves_mflat_combine_define_parameters_body ( cpl_parameterlist *  parameters,
const char *  recipe_id 
)

Setup the recipe options.

Parameters:
parameters the parameterlist to fill
recipe_id name of calling recipe
Returns:
0 if everything is ok

Definition at line 92 of file uves_reduce_mflat_combine.c.

void uves_mflat_combine_exe_body ( cpl_frameset *  frames,
const cpl_parameterlist *  parameters,
const char *  starttime,
const char *  recipe_id 
)

Get the command line options and execute the data reduction.

Parameters:
parameters the parameters list
frames the frames list
Returns:
CPL_ERROR_NONE if everything is ok

After computing the master flat frame, the pixel average, standard deviation and median values are also computed and written in appropriate keywords in the output image header.

Definition at line 124 of file uves_reduce_mflat_combine.c.

References check_nomsg, and uves_reduce_mflat_combine().

cpl_image* uves_combine_flats ( const cpl_frame *  frm_flat,
const cpl_frame *  frm_dflat,
cpl_frameset *  frames,
bool  flames,
const int  ORDER_THRESHOLD 
)

Get the command line options and execute the data reduction.

Parameters:
frames the frames list
parameters the parameters list flames FLAMES mode?
Returns:
CPL_ERROR_NONE if everything is ok

After computing the master flat frame, the pixel average, standard deviation and median values are also computed and written in appropriate keywords in the output image header.

Definition at line 154 of file uves_reduce_mflat_combine.c.

References check, check_nomsg, uves_chip_tostring_upper(), uves_msg, uves_msg_debug, uves_polynomial_delete(), and uves_polynomial_evaluate_2d().

Referenced by uves_reduce_mflat_combine().


Variable Documentation

const char* const uves_mflat_combine_desc
Initial value:
"This recipe combined a MASTER_FLAT_xxxx with a MASTER_DFLAT_xxxx\n"
"Input are:\n" 
"a master flat (MASTER_FLAT_xxxx)\n"
"a master dflat (MASTER_DFLAT_xxxx)\n"
"an order table (ORDER_TABLE_xxxx)\n"
"provided for each chip (xxxx = BLUE, REDL, REDU). \n"
"Output is a MASTER_FLAT_xxxx\n"

Definition at line 74 of file uves_reduce_mflat_combine.c.


Generated on 9 Mar 2012 for UVES Pipeline Reference Manual by  doxygen 1.6.1