31 #include <fors_std_star.h>
41 double stellarity_index;
47 double magnitude_corr;
49 double dmagnitude_corr;
54 const fors_std_star *id;
59 #define LIST_ELEM fors_star
66 double smajor,
double sminor,
78 const char *theta_col,
81 const char *stlndx_col);
double fors_star_get_x(const fors_star *s, void *data)
Get position.
void fors_star_print_list(cpl_msg_severity level, const fors_star_list *sl)
Print list of stars.
double fors_star_stellarity(const fors_star *s, void *data)
Get star stellarity.
double fors_star_ellipticity(const fors_star *s, void *data)
Get star ellipticity.
bool fors_star_equal(const fors_star *s, const fors_star *t)
Test for equality.
void fors_star_delete(fors_star **star)
Delete object and set pointer to NULL.
double fors_star_distsq(const fors_star *s, const fors_star *t)
Get distance between stars.
void fors_star_print(cpl_msg_severity level, const fors_star *s)
Print object.
CPL_BEGIN_DECLS fors_star * fors_star_new(double x, double y, double fwhm, double smajor, double sminor, double orientation, double m, double dm, double si)
Constructor.
bool fors_star_is_identified(const fors_star *s, void *data)
Determine if star was identified.
fors_star * fors_star_duplicate(const fors_star *star)
Copy constructor.
double fors_star_get_y(const fors_star *s, void *data)
Get position.
double fors_star_get_zeropoint_err(const fors_star *s, void *data)
Get zeropoint error.
double fors_star_extension(const fors_star *s, void *data)
Get star size.
bool fors_star_brighter_than(const fors_star *s1, const fors_star *s2, void *data)
Compare star brightness.
bool fors_star_check_values(const fors_star *star)
Copy constructor.
void fors_star_delete_but_standard(fors_star **star)
Delete object and set pointer to NULL - but ignore the standard star.
double fors_star_get_zeropoint(const fors_star *s, void *data)
Get zeropoint.
fors_star * fors_star_new_from_table(const cpl_table *tab, unsigned int row, const char *x_col, const char *y_col, const char *fwhm_col, const char *smaj_col, const char *smin_col, const char *theta_col, const char *mag_col, const char *dmag_col, const char *stlndx_col)
Create a star from a table WITHOUT checking.