39 #define omega_max(_x,_y) (_x > _y ? _x : _y)
40 #define omega_min(_x,_y) (_x < _y ? _x : _y)
53 int omega_get_coverage(cpl_propertylist *plist,
int fudge, cpl_matrix *from,
double *ra1,
54 double *ra2,
double *dec1,
double *dec2);
56 cpl_table *omega_extract_stds(
const char *pathname, cpl_vector *coords,
int n);
57 int omega_matchstds(cpl_table *objtab, cpl_table *stdstab,
float srad, cpl_table **outtab);
60 cpl_table * wcscor_matchstds(cpl_table *objtab, cpl_table *stdstab,
float srad);
63 int value,
int *nsrc);
65 double value,
int *nsrc);
67 const char *value,
int *nsrc);
69 float value,
int *nsrc);
70 cpl_table *
omega_science_catalogue(
const char *sci,
const char *conf,
double zeropoint_final, cpl_parameterlist *pars);
cpl_table * omega_filter_table_string(cpl_table *src, const char *col, cpl_table_select_operator operator, const char *value, int *nsrc)
Filter a table with a column of type string.
cpl_table * omega_get_stds_table(const char *stdcat, cpl_vector *coords, int *nstds)
Read standard reference fits table and return a fits table that contains stars in a given region...
cpl_table * omega_science_catalogue(const char *sci, const char *conf, double zeropoint_final, cpl_parameterlist *pars)
Create a catalogue from a science frame.
cpl_table * omega_filter_table_double(cpl_table *src, const char *col, cpl_table_select_operator operator, double value, int *nsrc)
Filter a table with a column of type double.
cpl_table * omega_filter_table_int(cpl_table *src, const char *col, cpl_table_select_operator operator, int value, int *nsrc)
Filter a table with a column of type integer.
int omega_matchstds(cpl_table *objtab, cpl_table *stdstab, float srad, cpl_table **outtab)
Find matches between two catalogues.
cpl_table * omega_get_usnoa_table(const cpl_frame *catalog, cpl_vector *coords, int *nstds)
Read master usnoa2 fits table and return a fits table that contains stars in a given region...
cpl_table * omega_filter_table_float(cpl_table *src, const char *col, cpl_table_select_operator operator, float value, int *nsrc)
Filter a table with a column of type float.
int omega_get_coverage(cpl_propertylist *plist, int fudge, cpl_matrix *from, double *ra1, double *ra2, double *dec1, double *dec2)
Get the Ra and Dec coverage of an image.