FORS Pipeline Reference Manual 4.9.20
|
Data Structures | |
struct | fors_fit_ncoeff_paropts |
struct | entry |
Defines | |
#define | LIST_ELEM entry |
#define | LIST_DEFINE |
#define | cleanup |
#define | cleanup |
#define | cleanup |
#define | cleanup |
#define | cleanup |
#define | cleanup |
#define | cleanup |
#define | cleanup |
#define | cleanup |
#define | cleanup |
#define | cleanup |
#define | cleanup |
#define | cleanup |
#define | cleanup |
#define | cleanup |
#define | cleanup |
#define | cleanup |
#define | cleanup |
#define | cleanup |
#define | cleanup |
#define | cleanup |
#define | cleanup |
Typedefs | |
typedef enum fors_fit_ncoeff | fors_fit_ncoeff |
typedef struct entry | entry |
Enumerations | |
enum | fors_fit_ncoeff { FORS_FIT_NCOEFF_NO = 0, FORS_FIT_NCOEFF_ONE, FORS_FIT_NCOEFF_PERFRAME, FORS_FIT_NCOEFF_PERNIGHT } |
Functions | |
entry * | entry_new (int frame_index, int star_index, double airmass, double gain, double exptime, int atm_ext_identifier, fors_star *star) |
entry constructor | |
void | entry_delete (entry **e) |
Destructor. | |
static void | entry_delete_but_standard (entry **e) |
Destructor. | |
static double | entry_get_powers_x_y (const entry *e, const cpl_array *powers) |
void | entry_list_print (const entry_list *l, cpl_msg_severity level) |
Print list. | |
static double | entry_get_powers_airmass_color (const entry *e, const cpl_array *powers) |
static entry_list * | fors_photometry_read_input (const cpl_frameset *alphot_frames, const fors_setting *setting, int(*get_atm_ext_id_function)(const cpl_propertylist *header), bool import_unknown, int *n_frames, fors_std_star_list **std_star_list, int filter) |
Read input data from aligned phot tables. | |
static fors_std_star * | fors_photometry_read_input_listinsert_star_if_new (fors_std_star_list *std_list, fors_std_star *std, double mind_arcsec) |
Insert a std star into a list, if the closest existing distance > maxd_arcsec. | |
static void | fors_delete_star_lists (entry_list **el, fors_std_star_list **sl) |
Delete a fors_std_star_list and an entry list referring to it. | |
static bool | fors_fits_compare_string (const char *s1, const char *s2) |
Compare two strings while ignoring trailing blanks. | |
static void | fors_matrix_null (cpl_matrix **m) |
Delete a cpl_matrix and set the pointer to NULL. | |
static void | fors_matrix_append_delete (cpl_matrix **m1, cpl_matrix **m2) |
static double | fors_property_get_num (const cpl_property *prop) |
static double | fors_photometry_parameter_get_num (const cpl_parameterlist *parameters, const char *name, cpl_type type) |
static const char * | fors_photometry_parameter_get_string (const cpl_parameterlist *parameters, const char *name) |
static fors_fit_ncoeff | fors_photometry_parameter_get_ncoeff (const cpl_parameterlist *parameters, const char *name) |
void | fors_photometry_define_parameters (cpl_parameterlist *parameters) |
Define recipe parameters. | |
static cpl_polynomial * | fors_photometry_define_polyf (int degreef1, int degreef2) |
Create a polynomial containing the desired coefficients (set to 1). | |
static cpl_polynomial * | fors_photometry_define_polyp (int degreep) |
Create a 2-dim polynomial with the desired coefficients (set to 1). | |
static cpl_error_code | fors_photometry_poly_new_from_coefficients (const cpl_polynomial *p_def, const cpl_matrix *coeffs, const cpl_matrix *cov_coeffs, cpl_polynomial **poly, cpl_polynomial **var_poly) |
Create a polynomial from a definition and a coefficients container. | |
int | fors_photometry_get_timezone_observer (const cpl_propertylist *header) |
Return the timezone of the observer in hours against UT. | |
int | fors_photometry_get_night_id (const cpl_propertylist *header) |
Get a unique identifier for the night of the observation. | |
static int | fors_photometry_atm_ext_create_index_by_identifier (entry_list *obs_list) |
Collect all atm. extinction identifiers and create the indices. | |
static int | fors_photometry_atm_ext_create_indices (entry_list *obsl, fors_fit_ncoeff fit_e) |
Create all atmospheric extinction indices. | |
static cpl_table * | fors_photometry_atm_ext_print_index_by_framename (const entry_list *obs_list, const cpl_frameset *frames) |
Print the frame filenames for each atm. ext. index. | |
static cpl_error_code | fors_photometry_check_input_value (double value, double value_error, const char *value_name, const char *input_name, double min_limit, double max_limit, double max_error) |
Check input value and its error to stay in a range. | |
static cpl_error_code | fors_photometry_check_fitparam_atm_ext (entry_list *obsl, fors_fit_ncoeff fit_e, bool fit_z) |
Check whether fitting is possible (see below). | |
static cpl_error_code | fors_photometry_adjust_fit_mag_flags (fors_std_star_list *stdl, entry_list *obsl, bool override_fit_m, int *n_mag_fits) |
static cpl_error_code | fors_photometry_remove_unnecessary (fors_std_star_list *std_list, entry_list *obs_list, int *n_mag_fits) |
Remove all standard stars which are fitted but were observed only once. | |
static cpl_array * | fors_photometry_count_observations (fors_std_star_list *std_list, entry_list *obs_list) |
Count the number of observations of each standard star. | |
static cpl_matrix * | build_equations_lhs_matrix_from_parameters (const entry_list *obs_list, const fors_std_star_list *std_list, bool fit_z, bool fit_c, int *n_fit_e_cols) |
Build left hand side matrix equation part. | |
static cpl_matrix * | build_equations_lhs_matrix_from_poly (const entry_list *obs_list, const cpl_polynomial *poly, const char *pname, double(*powerfunc)(const entry *,const cpl_array *)) |
Build polynomial fitting matrix with coefficients represented in columns. | |
static cpl_error_code | build_equations_rhs_cov (const entry_list *obs_list, const fors_std_star_list *std_list, bool fit_z, bool fit_c, bool fit_e, double color_coeff, double dcolor_coeff, double ext_coeff, double dext_coeff, double zpoint, double dzpoint, cpl_matrix **rhs, cpl_matrix **rhs_cov) |
Build right hand side matrix equation part. | |
static void | myprintf (const char *format,...) |
static cpl_matrix * | matrix_product_normal_create (const cpl_matrix *self) |
static cpl_matrix * | solve_normal (const cpl_matrix *coeff, const cpl_matrix *rhs, const cpl_matrix *cov_rhs, double *red_chisq) |
void | fors_photometry (cpl_frameset *frames, const cpl_parameterlist *parameters) |
Do the processing. | |
int | cpl_plugin_get_info (cpl_pluginlist *list) |
Build the list of available plugins, for this module. | |
static int | fors_photometry_create (cpl_plugin *plugin) |
Setup the recipe options. | |
static int | fors_photometry_exec (cpl_plugin *plugin) |
Execute the plugin instance given by the interface. | |
static int | fors_photometry_destroy (cpl_plugin *plugin) |
Destroy what has been created by the 'create' function. | |
Variables | |
const char *const | fors_photometry_name = "fors_photometry" |
const char *const | fors_photometry_description_short = "Compute corrected flatfield" |
const char *const | fors_photometry_author = "Jonas M. Larsen" |
const char *const | fors_photometry_email = PACKAGE_BUGREPORT |
const char *const | fors_photometry_description = " MASTER_FLAT_IMG FITS image Corrected master flat field\n" |
struct fors_fit_ncoeff_paropts | fors_fit_ncoeff_paropts |
const double | arcsec_tol = 5.0 |
See recipe description for details.
#define cleanup |
do { \ cpl_polynomial_delete(polyf); polyf = NULL; \ } while (0)
Definition at line 3708 of file fors_photometry_impl.c.
#define cleanup |
do { \ cpl_polynomial_delete(polyp); polyp = NULL; \ } while (0)
Definition at line 3708 of file fors_photometry_impl.c.
#define cleanup |
do { \ if (poly != NULL) { cpl_polynomial_delete(*poly); *poly = NULL; } \ if (var_poly != NULL) {cpl_polynomial_delete(*var_poly); *var_poly = NULL;}\ } while (0)
Definition at line 3708 of file fors_photometry_impl.c.
#define cleanup |
do { \ cpl_free(ident_array); ident_array = NULL; \ } while (0)
Definition at line 3708 of file fors_photometry_impl.c.
#define cleanup |
do { \ if (frame_printed != NULL) \ { \ cpl_free(frame_printed); \ frame_printed = NULL; \ } \ } while (0)
Definition at line 3708 of file fors_photometry_impl.c.
#define cleanup |
do { \ cpl_array_delete(airmasses); airmasses = NULL; \ } while (0)
Definition at line 3708 of file fors_photometry_impl.c.
#define cleanup |
do { \ fors_matrix_null(&solution); \ fors_matrix_null(&cov1); \ fors_matrix_null(&At); \ fors_matrix_null(&AtC); \ fors_matrix_null(&AtCA); \ fors_matrix_null(&p); \ fors_matrix_null(&Ap); \ fors_matrix_null(&bAp); \ fors_matrix_null(&bApt); \ fors_matrix_null(&C1bAp); \ fors_matrix_null(&chi2); \ } while (0)
Definition at line 3708 of file fors_photometry_impl.c.
#define cleanup |
do { \ cpl_frameset_delete((cpl_frameset *)aligned_phot_frames); \ cpl_frameset_delete((cpl_frameset *)master_flat_frame); \ cpl_frameset_delete((cpl_frameset *)phot_table); \ fors_setting_delete(&setting); \ fors_image_delete(&master_flat); \ fors_image_delete(&correction); \ cpl_table_delete(phot_coeff); \ cpl_table_delete(summary); \ fors_delete_star_lists(&obs, &std_star_list); \ cpl_array_delete(n_std_star_obs); n_std_star_obs = NULL; \ fors_matrix_null(&eqn_lhs); \ fors_matrix_null(&eqn_rhs); \ fors_matrix_null(&eqn_cov_rhs); \ fors_matrix_null(&eqn_result); \ fors_matrix_null(&tmp_mat); \ fors_matrix_null(&result_polyf); \ fors_matrix_null(&result_cov_polyf); \ fors_matrix_null(&result_params); \ fors_matrix_null(&result_cov_params); \ fors_matrix_null(&result_polyp); \ fors_matrix_null(&result_cov_polyp); \ cpl_polynomial_delete(polyf); polyf = NULL; \ cpl_polynomial_delete(polyf_definition); polyf_definition = NULL; \ cpl_polynomial_delete(polyf_variance); polyf_variance = NULL; \ cpl_polynomial_delete(polyp); polyp = NULL; \ cpl_polynomial_delete(polyp_definition); polyp_definition = NULL; \ } while (0)
Definition at line 3708 of file fors_photometry_impl.c.
#define cleanup |
do { \ fors_std_star_delete(&std_star); \ cpl_propertylist_delete(header); header = NULL; \ cpl_table_delete(aligned_phot); aligned_phot = NULL; \ fors_setting_delete(&setting_f); \ fors_delete_star_lists(&obs, std_star_list); \ fors_star_delete_but_standard(&obs_star); \ fors_std_star_delete(&std_star); \ \ *n_frames = 0; \ } while (0)
Definition at line 3708 of file fors_photometry_impl.c.
#define cleanup |
do { \ cpl_array_delete(n_obs_per_std); n_obs_per_std = NULL; \ fors_std_star_list_delete(&std_list_copy, NULL); \ entry_list_delete(&obs_list_copy, NULL); \ } while (0)
Definition at line 3708 of file fors_photometry_impl.c.
#define cleanup |
do { \ cpl_array_unwrap(n_obs_a); n_obs_a = NULL; \ cpl_free(n_obs); n_obs = NULL; \ } while (0)
Definition at line 3708 of file fors_photometry_impl.c.
#define cleanup |
do { \ fors_matrix_null(&lhs); \ if (n_fit_e_cols != NULL) \ *n_fit_e_cols = 0; \ } while (0)
Definition at line 3708 of file fors_photometry_impl.c.
#define cleanup |
do { \ fors_matrix_null(&mat); \ cpl_array_delete(Apowers); Apowers = NULL; \ } while (0)
Definition at line 3708 of file fors_photometry_impl.c.
#define cleanup |
do { \ fors_matrix_null(&rhs_input_cov); \ fors_matrix_null(&rhs_jacobian); \ fors_matrix_null(&rhs_input); \ fors_matrix_null(&rhs_jacobian_T); \ fors_matrix_null(&tmp_matrix); \ fors_matrix_null(rhs); \ fors_matrix_null(rhs_cov); \ } while (0)
Definition at line 3708 of file fors_photometry_impl.c.
entry * entry_new | ( | int | frame_index, |
int | star_index, | ||
double | airmass, | ||
double | gain, | ||
double | exptime, | ||
int | atm_ext_identifier, | ||
fors_star * | star | ||
) |
entry constructor
star | ownership is transferred, so deallocate only using entry_delete |
Definition at line 289 of file fors_photometry_impl.c.
Referenced by fors_photometry_read_input().
void entry_delete | ( | entry ** | e | ) |
Destructor.
e | to delete |
Definition at line 320 of file fors_photometry_impl.c.
References fors_star_delete().
Referenced by fors_delete_star_lists().
static void entry_delete_but_standard | ( | entry ** | e | ) | [static] |
Destructor.
e | to delete |
Definition at line 336 of file fors_photometry_impl.c.
References fors_star_delete_but_standard().
Referenced by fors_photometry(), and fors_photometry_remove_unnecessary().
void entry_list_print | ( | const entry_list * | l, |
cpl_msg_severity | level | ||
) |
Print list.
l | to print |
level | message level |
Definition at line 354 of file fors_photometry_impl.c.
References fors_star_print().
Referenced by fors_photometry().
static entry_list * fors_photometry_read_input | ( | const cpl_frameset * | alphot_frames, |
const fors_setting * | setting, | ||
int(*)(const cpl_propertylist *header) | get_atm_ext_id_function, | ||
bool | import_unknown, | ||
int * | n_frames, | ||
fors_std_star_list ** | std_star_list, | ||
int | filter | ||
) | [static] |
Read input data from aligned phot tables.
alphot_frames | Input frames |
setting | Instrument setting |
get_atm_ext_id_function | Function to create an identifier for the atmospheric extinction by frame header |
import_unknown | Flag whether to import also untrusted and non-standard stars |
n_frames | (Output) number of frames |
std_star_list | (Output) list of standard stars |
We match by (RA, DEC) and tolerance, not by OBJECT string which is not unique across different catalogs.
Definition at line 2756 of file fors_photometry_impl.c.
References assure, entry_new(), fors_extract_check_sex_star(), fors_photometry_read_input_listinsert_star_if_new(), fors_setting_delete(), fors_setting_verify(), fors_star_delete_but_standard(), fors_star_new_from_table(), and fors_type_get_string().
Referenced by fors_photometry().
static fors_std_star * fors_photometry_read_input_listinsert_star_if_new | ( | fors_std_star_list * | std_list, |
fors_std_star * | std, | ||
double | mind_arcsec | ||
) | [static] |
Insert a std star into a list, if the closest existing distance > maxd_arcsec.
std_list | Standard star list |
std | Standard star to test |
mind_arcsec | Minimum distance in arc seconds |
In the case that the std star is already found in the standard star list, the input std star object is deleted.
In the case of error, the input star is not deleted and its pointer is returned.
Definition at line 3102 of file fors_photometry_impl.c.
Referenced by fors_photometry_read_input().
static void fors_delete_star_lists | ( | entry_list ** | el, |
fors_std_star_list ** | sl | ||
) | [static] |
Delete a fors_std_star_list and an entry list referring to it.
el | Entry list |
sl | Standard star list |
Definition at line 414 of file fors_photometry_impl.c.
References entry_delete().
static bool fors_fits_compare_string | ( | const char * | s1, |
const char * | s2 | ||
) | [static] |
Compare two strings while ignoring trailing blanks.
s1 | String 1 |
s2 | String 2 |
A NULL input is treated as "".
Definition at line 443 of file fors_photometry_impl.c.
Referenced by fors_photometry_get_timezone_observer().
static void fors_matrix_null | ( | cpl_matrix ** | m | ) | [static] |
Delete a cpl_matrix and set the pointer to NULL.
m | Matrix to delete |
Definition at line 480 of file fors_photometry_impl.c.
Referenced by build_equations_rhs_cov(), and fors_photometry().
void fors_photometry_define_parameters | ( | cpl_parameterlist * | parameters | ) |
Define recipe parameters.
parameters | parameter list to fill |
Definition at line 669 of file fors_photometry_impl.c.
Referenced by fors_photometry_create(), and test_photometry().
static cpl_polynomial * fors_photometry_define_polyf | ( | int | degreef1, |
int | degreef2 | ||
) | [static] |
Create a polynomial containing the desired coefficients (set to 1).
degreef1 | Degree in x (>= 0) |
degreef2 | Degree in y, or negative for triangular coefficient matrix. |
Definition at line 805 of file fors_photometry_impl.c.
References assure, fors_polynomial_count_coeff(), and fors_polynomial_dump().
Referenced by fors_photometry().
static cpl_polynomial * fors_photometry_define_polyp | ( | int | degreep | ) | [static] |
Create a 2-dim polynomial with the desired coefficients (set to 1).
degreep | Total Degree |
The first dimension refers to the airmass, the second to the color.
Definition at line 885 of file fors_photometry_impl.c.
References assure, fors_polynomial_count_coeff(), and fors_polynomial_dump().
Referenced by fors_photometry().
static cpl_error_code fors_photometry_poly_new_from_coefficients | ( | const cpl_polynomial * | p_def, |
const cpl_matrix * | coeffs, | ||
const cpl_matrix * | cov_coeffs, | ||
cpl_polynomial ** | poly, | ||
cpl_polynomial ** | var_poly | ||
) | [static] |
Create a polynomial from a definition and a coefficients container.
p_def | Polynomial definition (using non-zero coeffs) |
coeffs | Column vector (N x 1) containing the coefficients in the order defined by the functions fors_polynomial_*(), ignored if p_def contains no non-zero coefficients |
cov_coeffs | (Optional) covariance matrix (N x N) of the coefficients in the order defined by the functions fors_polynomial_*(), ignored if p_def contains no non-zero coefficients or if var_poly == NULL |
poly | Output polynomial |
var_poly | (Optional) output variance polynomial |
Definition at line 952 of file fors_photometry_impl.c.
References fors_polynomial_count_coeff(), fors_polynomial_create_variance_polynomial(), and fors_polynomial_set_existing_coeff().
Referenced by fors_photometry().
int fors_photometry_get_timezone_observer | ( | const cpl_propertylist * | header | ) |
Return the timezone of the observer in hours against UT.
header | Frame header |
Definition at line 1039 of file fors_photometry_impl.c.
References fors_fits_compare_string().
Referenced by fors_photometry_get_night_id().
int fors_photometry_get_night_id | ( | const cpl_propertylist * | header | ) |
Get a unique identifier for the night of the observation.
header | Frame header |
In the case of error, the output ID is undefined.
Definition at line 1092 of file fors_photometry_impl.c.
References assure, and fors_photometry_get_timezone_observer().
Referenced by fors_photometry().
static int fors_photometry_atm_ext_create_index_by_identifier | ( | entry_list * | obs_list | ) | [static] |
Collect all atm. extinction identifiers and create the indices.
obs_list | Observation list |
Number | of indices (= max index + 1), 0 in the case of error |
The indices are created counting from zero, and in the order their identifiers appear.
Definition at line 1170 of file fors_photometry_impl.c.
Referenced by fors_photometry_atm_ext_create_indices().
static int fors_photometry_atm_ext_create_indices | ( | entry_list * | obsl, |
fors_fit_ncoeff | fit_e | ||
) | [static] |
Create all atmospheric extinction indices.
obsl | Observation list |
fit_e | How many atmospheric extinctions to fit |
The following indices in the entries of obs_list are set:
If fit_e is neither FORS_FIT_NCOEFF_NO nor FORS_FIT_NCOEFF_ONE nor FORS_FIT_NCOEFF_PERFRAME, then the atmospheric extinction identifier in the entries of obs_list must be set, otherwise the atmospheric extinction indices will contain garbage.
Definition at line 1243 of file fors_photometry_impl.c.
References fors_photometry_atm_ext_create_index_by_identifier().
Referenced by fors_photometry().
static cpl_table * fors_photometry_atm_ext_print_index_by_framename | ( | const entry_list * | obs_list, |
const cpl_frameset * | frames | ||
) | [static] |
Print the frame filenames for each atm. ext. index.
obs_list | Observation list |
frames | Frameset used as reference for printing |
CPL | error code |
Definition at line 1313 of file fors_photometry_impl.c.
Referenced by fors_photometry().
static cpl_error_code fors_photometry_check_input_value | ( | double | value, |
double | value_error, | ||
const char * | value_name, | ||
const char * | input_name, | ||
double | min_limit, | ||
double | max_limit, | ||
double | max_error | ||
) | [static] |
Check input value and its error to stay in a range.
value | Input value to check |
value_error | Input value's uncertainty (1 sigma) to check |
value_name | Input value's name to use in error messages |
input_name | Input's name (e.g. filename) to use in error messages |
min_limit | Minimum limit for value |
max_limit | Maximum limit for value |
max_error | Maximum limit for value_error |
As a minimum limit for value_error, 0 is supposed.
Definition at line 1447 of file fors_photometry_impl.c.
Referenced by fors_photometry().
static cpl_error_code fors_photometry_check_fitparam_atm_ext | ( | entry_list * | obsl, |
fors_fit_ncoeff | fit_e, | ||
bool | fit_z | ||
) | [static] |
Check whether fitting is possible (see below).
fit_e | How many atmospheric extinctions to fit |
fit_z | Flag whether to fit the zeropoint |
Definition at line 1522 of file fors_photometry_impl.c.
Referenced by fors_photometry().
static cpl_error_code fors_photometry_remove_unnecessary | ( | fors_std_star_list * | std_list, |
entry_list * | obs_list, | ||
int * | n_mag_fits | ||
) | [static] |
Remove all standard stars which are fitted but were observed only once.
std_list | Standard star list (modified) |
obs_list | Observation list (modified) |
n_mag_fits | (Output) number of remaining untrusted std stars |
Definition at line 3249 of file fors_photometry_impl.c.
References assure, entry_delete_but_standard(), and fors_photometry_count_observations().
Referenced by fors_photometry().
static cpl_array * fors_photometry_count_observations | ( | fors_std_star_list * | std_list, |
entry_list * | obs_list | ||
) | [static] |
Count the number of observations of each standard star.
std_list | Standard star list |
obs_list | Observation list |
Definition at line 3379 of file fors_photometry_impl.c.
Referenced by fors_photometry(), and fors_photometry_remove_unnecessary().
static cpl_matrix * build_equations_lhs_matrix_from_parameters | ( | const entry_list * | obs_list, |
const fors_std_star_list * | std_list, | ||
bool | fit_z, | ||
bool | fit_c, | ||
int * | n_fit_e_cols | ||
) | [static] |
Build left hand side matrix equation part.
obs_list | List of star observations |
std_list | List of std. stars |
fit_z | fit zeropoint? |
fit_c | fit color coeff.? |
n_fit_e_cols | (Optional) output number of atmospheric extinctions |
Definition at line 3446 of file fors_photometry_impl.c.
References assure.
Referenced by fors_photometry().
static cpl_matrix * build_equations_lhs_matrix_from_poly | ( | const entry_list * | obs_list, |
const cpl_polynomial * | poly, | ||
const char * | pname, | ||
double(*)(const entry *, const cpl_array *) | powerfunc | ||
) | [static] |
Build polynomial fitting matrix with coefficients represented in columns.
obs_list | Observation list |
poly | Polynomial definition |
pname | (Optional) name of the polynomial for debug messages |
powerfunc | Function to evaluate a combination of powers |
Definition at line 3624 of file fors_photometry_impl.c.
References assure, fors_polynomial_count_coeff(), fors_polynomial_powers_find_first_coeff(), fors_polynomial_powers_find_next_coeff(), and fors_polynomial_sprint_coeff().
Referenced by fors_photometry().
static cpl_error_code build_equations_rhs_cov | ( | const entry_list * | obs_list, |
const fors_std_star_list * | std_list, | ||
bool | fit_z, | ||
bool | fit_c, | ||
bool | fit_e, | ||
double | color_coeff, | ||
double | dcolor_coeff, | ||
double | ext_coeff, | ||
double | dext_coeff, | ||
double | zpoint, | ||
double | dzpoint, | ||
cpl_matrix ** | rhs, | ||
cpl_matrix ** | rhs_cov | ||
) | [static] |
Build right hand side matrix equation part.
obs_list | List of star observations |
std_list | List of std. stars |
fit_z | fit zeropoint? |
fit_c | fit color coeff.? |
fit_e | fit extinction coeff.? |
color_coeff | color coefficient |
dcolor_coeff | color coefficient error |
ext_coeff | extinction coefficient |
dext_coeff | ext_coeff error |
rhs | (output) right hand side |
rhs_cov | (output) covariance of rhs |
Definition at line 3735 of file fors_photometry_impl.c.
References fors_matrix_null().
Referenced by fors_photometry().
void fors_photometry | ( | cpl_frameset * | frames, |
const cpl_parameterlist * | parameters | ||
) |
Do the processing.
frames | input frames |
parameters | recipe parameters |
Definition at line 1876 of file fors_photometry_impl.c.
References assure, build_equations_lhs_matrix_from_parameters(), build_equations_lhs_matrix_from_poly(), build_equations_rhs_cov(), entry_delete_but_standard(), entry_list_print(), fors_dfs_save_image(), fors_dfs_save_table(), fors_frameset_extract(), fors_image_divide_scalar(), fors_image_exponential(), fors_image_get_median(), fors_image_get_size_x(), fors_image_get_size_y(), fors_image_load(), fors_image_multiply(), fors_image_multiply_scalar(), fors_image_new(), fors_matrix_null(), fors_photometry_atm_ext_create_indices(), fors_photometry_atm_ext_print_index_by_framename(), fors_photometry_check_fitparam_atm_ext(), fors_photometry_check_input_value(), fors_photometry_count_observations(), fors_photometry_define_polyf(), fors_photometry_define_polyp(), fors_photometry_get_night_id(), fors_photometry_poly_new_from_coefficients(), fors_photometry_read_input(), fors_photometry_remove_unnecessary(), fors_polynomial_dump(), fors_qc_end_group(), fors_qc_start_group(), fors_qc_write_qc_double(), and fors_setting_new().
Referenced by fors_photometry_exec(), and test_photometry().
int cpl_plugin_get_info | ( | cpl_pluginlist * | list | ) |
Build the list of available plugins, for this module.
list | The plugin list |
Create the recipe instance and make it available to the application using the interface. This function is exported.
Definition at line 62 of file fors_photometry.c.
References fors_get_license(), fors_get_version_binary(), fors_photometry_create(), fors_photometry_destroy(), and fors_photometry_exec().
static int fors_photometry_create | ( | cpl_plugin * | plugin | ) | [static] |
Setup the recipe options.
plugin | The plugin |
Defining the command-line/configuration parameters for the recipe.
Definition at line 109 of file fors_photometry.c.
References fors_photometry_define_parameters().
Referenced by cpl_plugin_get_info().
static int fors_photometry_exec | ( | cpl_plugin * | plugin | ) | [static] |
Execute the plugin instance given by the interface.
plugin | the plugin |
Definition at line 158 of file fors_photometry.c.
References fors_begin(), fors_end(), and fors_photometry().
Referenced by cpl_plugin_get_info().
static int fors_photometry_destroy | ( | cpl_plugin * | plugin | ) | [static] |
Destroy what has been created by the 'create' function.
plugin | The plugin |
Definition at line 207 of file fors_photometry.c.
Referenced by cpl_plugin_get_info().