20#ifndef MOO_LOC_SINGLE_H
21#define MOO_LOC_SINGLE_H
32#define MOO_LOC_SINGLE_FCENTROID "LOC_FIT"
33#define MOO_LOC_SINGLE_MCENTROID "LOC_PTS"
34#define MOO_LOC_SINGLE_WLO "WIDTH_LOW"
35#define MOO_LOC_SINGLE_WUP "WIDTH_UP"
36#define MOO_LOC_SINGLE_MWLO "PTS_WIDTH_LOW"
37#define MOO_LOC_SINGLE_MWUP "PTS_WIDTH_UP"
38#define MOO_LOC_SINGLE_FLAGS "FLAGS"
40#define MOONS_FLAG_GOOD 0
41#define MOONS_FLAG_YDIFF_OUTLIERS 1
42#define MOONS_FLAG_WDIFF_OUTLIERS 2
43#define MOONS_FLAG_BADPROFILE 3
44#define MOONS_FLAG_BADPIX 4
45#define MOONS_FLAG_NON_SIGNIFICANT_FLUX 5
46#define MOONS_FLAG_NOPROFILE 6
47#define MOONS_FLAG_NAN_IN_TRACE_GUESS 7
48#define MOONS_FLAG_NARROWPROFILE 8
49#define MOONS_FLAG_BROKEN_FIBRE 9
50#define MOONS_FLAG_XMAX_GAP 10
58 cpl_propertylist *header;
59 cpl_image *m_centroids;
60 cpl_image *f_centroids;
88moo_loc_single_compute_qc_guess(moo_loc_single *self,
int deg_poly);
89cpl_error_code moo_loc_single_compute_qc_trace(moo_loc_single *self,
91 moo_loc_single *guess);
void moo_loc_single_delete(moo_loc_single *self)
Delete a moo_loc_single.
double moo_loc_single_eval_f_centroids(moo_loc_single *self, double x, int indexext, int *rej)
Get the Y fit centroid for a x value.
void moo_loc_single_save(const moo_loc_single *self, const char *filename, int keep_points)
Save a moo_loc_single to a FITS file.
cpl_error_code moo_loc_single_dump(const moo_loc_single *self, FILE *stream)
Dump structural information of LOC_SINGLE.
moo_loc_single * moo_loc_single_new(void)
Create a new moo_loc_single.
cpl_image * moo_loc_single_get_f_wup(moo_loc_single *self)
Get image of width low.
cpl_image * moo_loc_single_get_f_centroids(moo_loc_single *self)
Get image of fit centroids.
cpl_image * moo_loc_single_get_flags(moo_loc_single *self)
Get image of flags.
cpl_image * moo_loc_single_get_m_centroids(moo_loc_single *self)
Get image of measured centroids.
cpl_propertylist * moo_loc_single_get_header(moo_loc_single *self)
Get header of loc single.
moo_loc_single * moo_loc_single_create(const char *filename, const char *extname)
Create a new moo_loc_single from the given LOC filename.
cpl_image * moo_loc_single_get_f_wlo(moo_loc_single *self)
Get image of width low.
cpl_mask * moo_loc_single_get_ODR(moo_loc_single *self, int size_y)
Get outside data range mask far a DET single.