IIINSTRUMENT Pipeline Reference Manual
6.2.2
|
Functions | |
cpl_imagelist * | isaac_imagelist_fit_polynomial (const cpl_imagelist *ilist, const double *dit, int deg) |
Compute the non linearity of the detector. More... | |
cpl_imagelist* isaac_imagelist_fit_polynomial | ( | const cpl_imagelist * | ilist, |
const double * | dit, | ||
int | deg | ||
) |
Compute the non linearity of the detector.
ilist | The list of exposures (images obtained with different DITs) |
dit | The DIT values used |
deg | The polynomial degree for the fit |
Image list can be CPL_TYPE_FLOAT
For each pixel, a polynomial representing the relation DIT=P(flux) is computed where: P(x) = a1*x + ... + an*x^n The returned image list contains deg+1 images. The deg first images contain the the deg first coefficients of the polynomial and the last image contains the error of the fit.
Possible CPL error codes set in this function:
Definition at line 78 of file isaac_fit.c.