UVES Pipeline Reference Manual  5.4.6
Functions | Variables
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. More...
 
int uves_mflat_combine_define_parameters_body (cpl_parameterlist *parameters, const char *recipe_id)
 Setup the recipe options. More...
 
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. More...
 
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. More...
 

Variables

const char *const uves_mflat_combine_desc
 

Detailed Description

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
framesthe frames list
parametersthe parameters list
flamesCalled by FLAMES recipe?
recipe_idthe recipe name (will be written to FITS headers)
starttimetime 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
parametersthe parameterlist to fill
recipe_idname 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
parametersthe parameters list
framesthe 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
framesthe frames list
parametersthe 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.