Functions | |
| static double | irplib_pfits_get_dit (const cpl_propertylist *plist) |
| find out the character string associated to the DIT keyword in a propertylist | |
| static double | irplib_pfits_get_exp_time (const cpl_propertylist *plist) |
| find out the character string associated to the EXPTIME keyword | |
| static int | irplib_get_clean_mean_window (cpl_image *img, const int llx, const int lly, const int urx, int ury, const int kappa, const int nclip, double *clean_mean, double *clean_stdev) |
| Get clean mean and stdev of an image over a window. | |
| 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. | |
| static double irplib_pfits_get_dit | ( | const cpl_propertylist * | plist | ) | [static] |
find out the character string associated to the DIT keyword in a propertylist
| plist | propertylist |
Definition at line 68 of file irplib_calib.c.
Referenced by irplib_compute_gain(), and irplib_compute_linearity().
| static double irplib_pfits_get_exp_time | ( | const cpl_propertylist * | plist | ) | [static] |
find out the character string associated to the EXPTIME keyword
| plist | propertylist |
Definition at line 80 of file irplib_calib.c.
Referenced by irplib_compute_gain().
| static int irplib_get_clean_mean_window | ( | cpl_image * | img, | |
| const int | llx, | |||
| const int | lly, | |||
| const int | urx, | |||
| int | ury, | |||
| const int | kappa, | |||
| const int | nclip, | |||
| double * | clean_mean, | |||
| double * | clean_stdev | |||
| ) | [static] |
Get clean mean and stdev of an image over a window.
| img | input image | |
| llx | input lower left x image's window coordinate | |
| lly | input lower left y image's window coordinate | |
| urx | input upper right y image's window coordinate | |
| ury | input upper right y image's window coordinate | |
| kappa | input kappa of kappa-sigma clip | |
| nclip | input max no of kappa-sigma clip iterations | |
| clean_mean | output upper right y image's window coordinate | |
| clean_stdev | output upper right y image's window coordinate |
Definition at line 104 of file irplib_calib.c.
Referenced by irplib_compute_gain().
| 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 179 of file irplib_calib.c.
References irplib_get_clean_mean_window(), irplib_pfits_get_dit(), and irplib_pfits_get_exp_time().
| 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 360 of file irplib_calib.c.
References irplib_pfits_get_dit().
| 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 481 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 566 of file irplib_calib.c.
1.5.8