22 #ifndef MUSE_QUADRANTS_H 23 #define MUSE_QUADRANTS_H 30 #include "muse_image.h" cpl_error_code muse_quadrants_overscan_correct(muse_image *, muse_image *)
Adapt bias level to reference image using overscan statistics.
cpl_size * muse_quadrants_get_window(const muse_image *, unsigned char)
Determine the data window of a given quadrant on the CCD.
Structure definition of MUSE three extension FITS file.
cpl_error_code muse_quadrants_overscan_polyfit_vertical(muse_image *, unsigned, unsigned char, double, double, double)
Correct quadrants by polynomial representation of vertical overscan.
cpl_boolean muse_quadrants_verify(cpl_propertylist *)
Verify that quadrant locations and sizes meet the expectations.
cpl_boolean muse_quadrants_overscan_check(muse_image *, muse_image *, double)
Compare overscan statistics of all quadrants to those of reference image.
cpl_error_code muse_quadrants_overscan_stats(muse_image *, const char *, unsigned int)
Compute overscan statistics of all quadrants and save in FITS header.
cpl_error_code muse_quadrants_coords_to_raw(cpl_propertylist *, int *, int *)
Convert coordinates of a trimmed image to raw-image coordinates.
muse_image * muse_quadrants_trim_image(muse_image *)
Trim the input image of pre- and over-scan regions of all quadrants.
cpl_size * muse_quadrants_overscan_get_window(const muse_image *, unsigned char, unsigned int)
Determine the overscan windows of a given quadrant on the CCD.