30#include "moo_detector.h"
32#define MOO_SINGLE_CUNIT1 "pixel"
38 cpl_propertylist *header;
52 unsigned int badpix_mask;
88cpl_error_code moo_single_div_image(moo_single *a, cpl_image *b);
91moo_single *moo_single_add_create(moo_single *a, moo_single *b);
93cpl_propertylist *moo_single_get_header(moo_single *self);
94double moo_single_get_exptime(moo_single *self);
95cpl_error_code moo_single_set_exptime(moo_single *self,
double val);
enum _moo_detector_type_ moo_detector_type
The type code type.
hdrl_image * moo_single_get_image(moo_single *self)
Get the IMAGE part (DATA,ERR) of single DET.
cpl_error_code moo_single_load(moo_single *self, unsigned int level)
Load data in a single structure.
cpl_error_code moo_single_mean(moo_single *a, moo_single *b)
Mean of two single DET.
cpl_image * moo_single_get_data(moo_single *self)
Get the DATA part of single DET.
cpl_error_code moo_single_sub(moo_single *a, moo_single *b)
Subtract two single DET.
cpl_error_code moo_single_apply_mask(moo_single *self, cpl_mask *mask, unsigned int level)
Apply the given mask on the QUAL part.
void moo_single_delete(moo_single *self)
Delete a moo_single.
moo_single * moo_single_create(const char *filename, moo_detector_type type, int ntas)
Create a new moo_single from the given filename.
cpl_error_code moo_single_dump(const moo_single *self, FILE *stream)
Dump structural information of a Single DET.
cpl_error_code moo_single_free(moo_single *self)
Free memory associate to this single DET.
cpl_error_code moo_single_sum(moo_single *a, moo_single *b)
Add two single DET.
moo_single * moo_single_new(moo_detector_type type, int ntas)
Create a new moo_single.
cpl_image * moo_single_get_qual(moo_single *self)
Get the QUAL part of single DET.
cpl_error_code moo_single_divide(moo_single *a, moo_single *b)
Divide two single DET.
cpl_error_code moo_single_multiply_scalar(moo_single *a, double scalar)
Elementwise multiplication of a single with a scalar.
void moo_single_save(moo_single *self, const char *filename, moo_detector_type type, int ntas)
Save a moo_single to a FITS file.
cpl_error_code moo_single_filter_snr(moo_single *self, double min_snr)
Flag low snr pixels from single DET structure.