DETMON Pipeline Reference Manual
1.2.7
|
Functions | |
cpl_table * | irplib_compute_gain (cpl_frameset *son, cpl_frameset *sof, int *zone, const int kappa, const int nclip) |
Computes the detector's gain. | |
cpl_table * | irplib_compute_linearity (cpl_frameset *son, cpl_frameset *sof) |
Computes the detector's linearity. | |
int | irplib_detlin_correct (cpl_imagelist *ilist, const char *detlin_a, const char *detlin_b, const char *detlin_c) |
Apply the detector linearity correction. | |
int | irplib_flat_dark_bpm_calib (cpl_imagelist *ilist, const char *flat, const char *dark, const char *bpm) |
Apply the calibration to the frames. | |
cpl_image * | irplib_mkmaster_mean (cpl_imagelist *images, const double kappa, const int nclip, const double tolerance, const double klow, const double khigh, const int niter) |
Computes master frame by clean stack mean of the input imagelist. | |
cpl_image * | irplib_mkmaster_median (cpl_imagelist *images, const double kappa, const int nclip, const double tolerance) |
Computes master frame by clean stack median of the input imagelist. |
cpl_table* irplib_compute_gain | ( | cpl_frameset * | son, |
cpl_frameset * | sof, | ||
int * | zone, | ||
const int | kappa, | ||
const int | nclip | ||
) |
Computes the detector's gain.
son | the input frameset of linearity on-flat fields |
sof | the input frameset of linearity off-flat fields |
zone | pointer to an integer array with locations (llx,lly,urx,ury) of region where a clean mean and noise are computed |
kappa | value of kappa in kappa-sigma clipping |
nclip | number of kappa-sigma clipping iterations |
Definition at line 191 of file irplib_calib.c.
cpl_table* irplib_compute_linearity | ( | cpl_frameset * | son, |
cpl_frameset * | sof | ||
) |
Computes the detector's linearity.
son | the input frameset of linearity on flat fields |
sof | the input frameset of linearity off flat fields |
Definition at line 372 of file irplib_calib.c.
int irplib_detlin_correct | ( | cpl_imagelist * | ilist, |
const char * | detlin_a, | ||
const char * | detlin_b, | ||
const char * | detlin_c | ||
) |
Apply the detector linearity correction.
ilist | the input image list |
detlin_a | the a coeffs |
detlin_b | the b coeffs |
detlin_c | the c coeffs |
Definition at line 493 of file irplib_calib.c.
int irplib_flat_dark_bpm_calib | ( | cpl_imagelist * | ilist, |
const char * | flat, | ||
const char * | dark, | ||
const char * | bpm | ||
) |
Apply the calibration to the frames.
ilist | the input image list |
flat | the flat field |
dark | the dark |
bpm | the bad pixels map |
Definition at line 578 of file irplib_calib.c.
cpl_image* irplib_mkmaster_mean | ( | cpl_imagelist * | images, |
const double | kappa, | ||
const int | nclip, | ||
const double | tolerance, | ||
const double | klow, | ||
const double | khigh, | ||
const int | niter | ||
) |
Computes master frame by clean stack mean of the input imagelist.
images | input imagelist |
kappa | value for kappa-sigma clip |
nclip | Number of clipping iterations |
tolerance | tolerance on range between two successive clip iterations |
The returned image must be deallocated.
Definition at line 313 of file irplib_mkmaster.c.
cpl_image* irplib_mkmaster_median | ( | cpl_imagelist * | images, |
const double | kappa, | ||
const int | nclip, | ||
const double | tolerance | ||
) |
Computes master frame by clean stack median of the input imagelist.
images | input imagelist |
kappa | value for kappa-sigma clip |
nclip | Number of clipping iterations |
tolerance | tolerance on range between two successive clip iterations |
The returned image must be deallocated.
Definition at line 352 of file irplib_mkmaster.c.