|
MOONS Pipeline Reference Manual 0.13.1
|
Functions | |
| cpl_array * | moo_fibres_table_get_spectro_index (cpl_table *table, int num) |
| get the index of a spectro in the fibre table sort by index on the slit | |
| cpl_array * | moo_fibres_table_get_spectro_indexext (cpl_table *table, int num) |
| get the index of a spectro in the fibre table sort by spetcro,indexext | |
| cpl_table * | moo_fibres_table_get_spectro_table (cpl_table *table, int num) |
| get the selection of a spectro in the fibre table | |
| int | moo_fibres_table_get_spectro_nrow (cpl_table *table, int num) |
| get the number of rows of a spectro in the fibre table | |
| cpl_error_code | moo_fibres_table_add_locguess_cols (cpl_table *table) |
| add localise guess additional columns | |
| cpl_error_code | moo_fibres_table_add_extract_cols (cpl_table *table) |
| add extract additional columns | |
| cpl_error_code | moo_fibres_table_add_f2f_cols (cpl_table *table) |
| add f2f additional columns | |
| cpl_error_code | moo_fibres_table_add_rebin_cols (cpl_table *table) |
| add rebin additional columns | |
| cpl_error_code | moo_fibres_table_add_nod_cols (cpl_table *table) |
| add nod additional columns | |
| cpl_error_code | moo_fibres_table_erase_extract_cols (cpl_table *table) |
| erase extract additional columns | |
| cpl_error_code | moo_fibres_table_add_wavecal_cols (cpl_table *table, cpl_table *guess, const char *model) |
| add wavecal additional columns | |
| cpl_error_code | moo_fibres_table_add_wavecalguess_cols (cpl_table *table) |
| add wavecal additional columns | |
| float * | moo_fibres_table_get_median_snr (cpl_table *table, moo_detector_type type) |
| get the data of median_snr for the given detector type | |
| cpl_error_code | moo_fibres_table_set_detectline (cpl_table *table, moo_detector_type type, cpl_size row, int value) |
| set the number od detectline for the given detector type | |
| cpl_error_code | moo_fibres_table_set_failedfit (cpl_table *table, moo_detector_type type, cpl_size row, int value) |
| set the number od failedfit lines for the given detector type | |
| cpl_error_code | moo_fibres_table_set_fitline (cpl_table *table, moo_detector_type type, cpl_size row, int value) |
| set the number of fit lines for the given detector type | |
| cpl_error_code | moo_fibres_table_set_matchline (cpl_table *table, moo_detector_type type, cpl_size row, int value) |
| set the number of match lines for the given detector type | |
| cpl_error_code | moo_fibres_table_set_modelline (cpl_table *table, moo_detector_type type, cpl_size row, int value) |
| set the number of model lines for the given detector type | |
| cpl_error_code | moo_fibres_table_set_rejectline (cpl_table *table, moo_detector_type type, cpl_size row, int value) |
| set the number of rejected lines for the given detector type | |
| cpl_error_code | moo_fibres_table_set_xdiff (cpl_table *table, moo_detector_type type, cpl_size row, double value) |
| set the xdiff for the given fibre and detector type | |
| int | moo_fibres_table_get_matchline (cpl_table *table, moo_detector_type type, cpl_size row) |
| Get the number of matched lines for the given detector type. | |
| int | moo_fibres_table_get_rejectline (cpl_table *table, moo_detector_type type, cpl_size row) |
| Get the number of rejected lines for the given detector type. | |
| double | moo_fibres_table_get_xdiff (cpl_table *table, moo_detector_type type, cpl_size row) |
| Get xdiff for the given detector type. | |
| int | moo_fibres_table_filter_health (cpl_table *table) |
| Filter bad health data in fibre table. | |
| cpl_table * | moo_fibre_table_load (cpl_frame *frame) |
| Load a fibre table from a file. | |
| const char * | moo_fibres_table_get_std_name (cpl_table *table) |
| get the object name of the STD type in the fibre table | |
| cpl_error_code | moo_fibres_table_rbn_to_ext (cpl_table *table, int indexrbn, int *indexext, int *num) |
| get from indexrbn the corresponding indexext and num | |
| cpl_error_code | moo_fibres_table_by_indexrbn (cpl_table *table) |
| Order fibres table by INDEXRBN (ASC) | |
| cpl_error_code | moo_fibres_table_by_index (cpl_table *table) |
| Order fibres table by INDEX (ASC) | |
This module provides functions to use FIBRE TABLE
Functionality include:
| cpl_table * moo_fibre_table_load | ( | cpl_frame * | frame | ) |
Load a fibre table from a file.
| frame | the frame conataining fibre table |
Definition at line 877 of file moo_fibres_table.c.
| cpl_error_code moo_fibres_table_add_extract_cols | ( | cpl_table * | table | ) |
add extract additional columns
| table | the fibre table |
Possible cpl_error_code set in this function:
Definition at line 234 of file moo_fibres_table.c.
Referenced by moo_extract().
| cpl_error_code moo_fibres_table_add_f2f_cols | ( | cpl_table * | table | ) |
add f2f additional columns
| table | the fibre table |
Possible cpl_error_code set in this function:
Definition at line 274 of file moo_fibres_table.c.
Referenced by moo_apply_flat().
| cpl_error_code moo_fibres_table_add_locguess_cols | ( | cpl_table * | table | ) |
add localise guess additional columns
| table | the fibre table |
Possible cpl_error_code set in this function:
Definition at line 200 of file moo_fibres_table.c.
| cpl_error_code moo_fibres_table_add_nod_cols | ( | cpl_table * | table | ) |
add nod additional columns
| table | the fibre table |
Possible cpl_error_code set in this function:
Definition at line 346 of file moo_fibres_table.c.
Referenced by moo_subtract_nod().
| cpl_error_code moo_fibres_table_add_rebin_cols | ( | cpl_table * | table | ) |
add rebin additional columns
| table | the fibre table |
Possible cpl_error_code set in this function:
Definition at line 302 of file moo_fibres_table.c.
Referenced by moo_rebin().
| cpl_error_code moo_fibres_table_add_wavecal_cols | ( | cpl_table * | table, |
| cpl_table * | guess, | ||
| const char * | model | ||
| ) |
add wavecal additional columns
| table | the fibre table |
| guess | the guess fibre table |
| model | the name of the guess model |
Possible cpl_error_code set in this function:
Definition at line 402 of file moo_fibres_table.c.
References moo_fibres_table_get_matchline(), moo_fibres_table_get_rejectline(), moo_fibres_table_set_matchline(), and moo_fibres_table_set_modelline().
| cpl_error_code moo_fibres_table_add_wavecalguess_cols | ( | cpl_table * | table | ) |
add wavecal additional columns
| table | the fibre table |
Possible cpl_error_code set in this function:
Definition at line 514 of file moo_fibres_table.c.
| cpl_error_code moo_fibres_table_by_index | ( | cpl_table * | table | ) |
Order fibres table by INDEX (ASC)
| table | fibres table |
Definition at line 1006 of file moo_fibres_table.c.
Referenced by moo_extract().
| cpl_error_code moo_fibres_table_by_indexrbn | ( | cpl_table * | table | ) |
Order fibres table by INDEXRBN (ASC)
| table | fibres table |
Definition at line 985 of file moo_fibres_table.c.
Referenced by moo_target_table_select_sky_index().
| cpl_error_code moo_fibres_table_erase_extract_cols | ( | cpl_table * | table | ) |
erase extract additional columns
| table | the fibre table |
Possible cpl_error_code set in this function:
Definition at line 375 of file moo_fibres_table.c.
| int moo_fibres_table_filter_health | ( | cpl_table * | table | ) |
Filter bad health data in fibre table.
| table | the fibre table |
Definition at line 860 of file moo_fibres_table.c.
| int moo_fibres_table_get_matchline | ( | cpl_table * | table, |
| moo_detector_type | type, | ||
| cpl_size | row | ||
| ) |
Get the number of matched lines for the given detector type.
| table | the fibre table |
| type | the detector type |
| row | the row |
Definition at line 787 of file moo_fibres_table.c.
Referenced by moo_fibres_table_add_wavecal_cols().
| float * moo_fibres_table_get_median_snr | ( | cpl_table * | table, |
| moo_detector_type | type | ||
| ) |
get the data of median_snr for the given detector type
| table | the fibre table |
| type | the detector type |
Definition at line 572 of file moo_fibres_table.c.
| int moo_fibres_table_get_rejectline | ( | cpl_table * | table, |
| moo_detector_type | type, | ||
| cpl_size | row | ||
| ) |
Get the number of rejected lines for the given detector type.
| table | the fibre table |
| type | the detector type |
| row | the row |
Definition at line 812 of file moo_fibres_table.c.
Referenced by moo_fibres_table_add_wavecal_cols().
| cpl_array * moo_fibres_table_get_spectro_index | ( | cpl_table * | table, |
| int | num | ||
| ) |
get the index of a spectro in the fibre table sort by index on the slit
| table | the fibre table |
| num | the spectro number |
Definition at line 77 of file moo_fibres_table.c.
Referenced by moo_apply_flat().
| cpl_array * moo_fibres_table_get_spectro_indexext | ( | cpl_table * | table, |
| int | num | ||
| ) |
get the index of a spectro in the fibre table sort by spetcro,indexext
| table | the fibre table |
| num | the spectro number |
Definition at line 109 of file moo_fibres_table.c.
Referenced by moo_extract(), and moo_rebin().
| int moo_fibres_table_get_spectro_nrow | ( | cpl_table * | table, |
| int | num | ||
| ) |
get the number of rows of a spectro in the fibre table
| table | the fibre table |
| num | the spectro number |
Definition at line 178 of file moo_fibres_table.c.
| cpl_table * moo_fibres_table_get_spectro_table | ( | cpl_table * | table, |
| int | num | ||
| ) |
get the selection of a spectro in the fibre table
| table | the fibre table |
| num | the spectro number |
Definition at line 156 of file moo_fibres_table.c.
Referenced by moo_f2f_create().
| const char * moo_fibres_table_get_std_name | ( | cpl_table * | table | ) |
get the object name of the STD type in the fibre table
| table | the fibre table |
Definition at line 902 of file moo_fibres_table.c.
| double moo_fibres_table_get_xdiff | ( | cpl_table * | table, |
| moo_detector_type | type, | ||
| cpl_size | row | ||
| ) |
Get xdiff for the given detector type.
| table | the fibre table |
| type | the detector type |
| row | the row |
Definition at line 837 of file moo_fibres_table.c.
| cpl_error_code moo_fibres_table_rbn_to_ext | ( | cpl_table * | table, |
| int | indexrbn, | ||
| int * | indexext, | ||
| int * | num | ||
| ) |
get from indexrbn the corresponding indexext and num
| table | the fibre table |
| indexrbn | the rbn index |
| indexext | the corresponding indexext or -1 |
| num | the corresponding num or -1 |
Definition at line 942 of file moo_fibres_table.c.
| cpl_error_code moo_fibres_table_set_detectline | ( | cpl_table * | table, |
| moo_detector_type | type, | ||
| cpl_size | row, | ||
| int | value | ||
| ) |
set the number od detectline for the given detector type
| table | the fibre table |
| type | the detector type |
| row | the row |
| value | the number of lines |
Definition at line 595 of file moo_fibres_table.c.
| cpl_error_code moo_fibres_table_set_failedfit | ( | cpl_table * | table, |
| moo_detector_type | type, | ||
| cpl_size | row, | ||
| int | value | ||
| ) |
set the number od failedfit lines for the given detector type
| table | the fibre table |
| type | the detector type |
| row | the row |
| value | the number of lines |
Definition at line 624 of file moo_fibres_table.c.
| cpl_error_code moo_fibres_table_set_fitline | ( | cpl_table * | table, |
| moo_detector_type | type, | ||
| cpl_size | row, | ||
| int | value | ||
| ) |
set the number of fit lines for the given detector type
| table | the fibre table |
| type | the detector type |
| row | the row |
| value | the number of lines |
Definition at line 652 of file moo_fibres_table.c.
| cpl_error_code moo_fibres_table_set_matchline | ( | cpl_table * | table, |
| moo_detector_type | type, | ||
| cpl_size | row, | ||
| int | value | ||
| ) |
set the number of match lines for the given detector type
| table | the fibre table |
| type | the detector type |
| row | the row |
| value | the number of lines |
Definition at line 681 of file moo_fibres_table.c.
Referenced by moo_fibres_table_add_wavecal_cols().
| cpl_error_code moo_fibres_table_set_modelline | ( | cpl_table * | table, |
| moo_detector_type | type, | ||
| cpl_size | row, | ||
| int | value | ||
| ) |
set the number of model lines for the given detector type
| table | the fibre table |
| type | the detector type |
| row | the row |
| value | the number of lines |
Definition at line 708 of file moo_fibres_table.c.
Referenced by moo_fibres_table_add_wavecal_cols().
| cpl_error_code moo_fibres_table_set_rejectline | ( | cpl_table * | table, |
| moo_detector_type | type, | ||
| cpl_size | row, | ||
| int | value | ||
| ) |
set the number of rejected lines for the given detector type
| table | the fibre table |
| type | the detector type |
| row | the row |
| value | the number of lines |
Definition at line 734 of file moo_fibres_table.c.
| cpl_error_code moo_fibres_table_set_xdiff | ( | cpl_table * | table, |
| moo_detector_type | type, | ||
| cpl_size | row, | ||
| double | value | ||
| ) |
set the xdiff for the given fibre and detector type
| table | the fibre table |
| type | the detector type |
| row | the row |
| value | the number of lines |
Definition at line 762 of file moo_fibres_table.c.