48 #ifndef UVES_FLATFIELD_H
49 #define UVES_FLATFIELD_H
50 #include <uves_cpl_size.h>
54 typedef enum {FF_PIXEL, FF_EXTRACT, FF_NO} flatfielding_method;
58 const char *context,
const char *subcontext);
62 const cpl_image *master_flat,
const cpl_image *mflat_noise);
flatfielding_method uves_get_flatfield_method(const cpl_parameterlist *parameters, const char *context, const char *subcontext)
Read flat-field method from parameter list.
cpl_error_code uves_flatfielding(cpl_image *image, cpl_image *noise, const cpl_image *master_flat, const cpl_image *mflat_noise)
Divide by flat field.