|
MOONS Pipeline Reference Manual 0.13.1
|
Data Structures | |
| struct | moo_target_table |
| the different type of detectors More... | |
Typedefs | |
| typedef enum _moo_target_table_mode_ | moo_target_table_mode |
| The type code type. | |
Functions | |
| const char * | moo_target_table_mode_get_name (moo_target_table_mode m) |
| Get the name of target mode. | |
| moo_target_table * | moo_target_table_new (void) |
| Create a new moo_target_table. | |
| moo_target_table * | moo_target_table_duplicate (moo_target_table *self) |
| Duplicate an existing target_table. | |
| moo_target_table * | moo_create_target_table (moo_rbn *rbnA, moo_rbn *rbnB, moo_target_table_mode mode, moo_target_table_params *params) |
| Prepare target table for SCI frames using their attached fibre. | |
| void | moo_target_table_delete (moo_target_table *self) |
| Delete a moo_target_table. | |
| cpl_array * | moo_target_table_select_sky_index (moo_target_table *self, moo_rbn *sky_rbn) |
| get the index of the sky in the target table sort by indexspec | |
| cpl_error_code | moo_target_table_select_stare (moo_target_table *self) |
| select STARE object in trget table | |
| cpl_error_code | moo_target_table_select_pstare (moo_target_table *self) |
| select PSTARE object in trget table | |
| cpl_error_code | moo_target_table_select_nod (moo_target_table *self) |
| select STARE object in trget table | |
| cpl_error_code | moo_target_table_select_pnod (moo_target_table *self) |
| select STARE object in trget table | |
| int | moo_target_table_xswitch_paired (moo_target_table *self) |
| get the index of the object in the target table sort by indexrbn | |
| cpl_array * | moo_target_table_select_obj_index (moo_target_table *self, int ispaired) |
| get the index of the object in the target table sort by indexrbn | |
| moo_target_table * | moo_target_table_load (const cpl_frame *frame) |
| Load a TARGET_TABLE frame and create a moo_target_table. | |
| cpl_error_code | moo_target_table_merge (moo_target_table *self, moo_target_table *tomerge) |
| Merge two TARGET_TABLE. | |
| int | moo_target_table_find_target (moo_target_table *self, const char *targname) |
| find target targindex in TARGET_TABLE | |
| cpl_error_code | moo_target_table_remove_coadd_cols (moo_target_table *self) |
| remove columns for coadd in target_table | |
| int | moo_target_table_find_index (moo_target_table *self, const char *targname) |
| find target indexspec in TARGET_TABLE | |
| double | moo_target_table_get_exptime (moo_target_table *self, int i, int j) |
| rget the exptime of a target | |
| moo_target_table * moo_create_target_table | ( | moo_rbn * | rbnA, |
| moo_rbn * | rbnB, | ||
| moo_target_table_mode | mode, | ||
| moo_target_table_params * | params | ||
| ) |
Prepare target table for SCI frames using their attached fibre.
| rbnA | the RBN object |
| rbnB | the RBN (object B) or null |
| mode | the TARGET_TABLE mode |
| params | the target_table parameters |
Error code:
Definition at line 901 of file moo_target_table.c.
| void moo_target_table_delete | ( | moo_target_table * | self | ) |
Delete a moo_target_table.
| self | moo_target_table to delete |
If the moo_target_table self is NULL, nothing is done and no error is set.
Definition at line 949 of file moo_target_table.c.
Referenced by moo_sci_delete(), and moo_target_table_load().
| moo_target_table * moo_target_table_duplicate | ( | moo_target_table * | self | ) |
Duplicate an existing target_table.
The returned object must be deallocated using moo_target_table_delete().
Definition at line 93 of file moo_target_table.c.
References moo_target_table_new().
Referenced by moo_sub_sky_stare().
| int moo_target_table_find_index | ( | moo_target_table * | self, |
| const char * | targname | ||
| ) |
find target indexspec in TARGET_TABLE
| self | the TARGET_TABLE |
| targname | the name of TARGET_TABLE to find |
Possible cpl_error_code set in this function:
Definition at line 1443 of file moo_target_table.c.
References moo_table_or_selected_sequal_string().
Referenced by moo_coadd(), and moo_compute_resp().
| int moo_target_table_find_target | ( | moo_target_table * | self, |
| const char * | targname | ||
| ) |
find target targindex in TARGET_TABLE
| self | the TARGET_TABLE |
| targname | the name of TARGET_TABLE to find |
Possible cpl_error_code set in this function:
Definition at line 1357 of file moo_target_table.c.
References moo_table_or_selected_sequal_string().
Referenced by moo_coadd(), moo_resp_create(), and moo_telluric_create().
| double moo_target_table_get_exptime | ( | moo_target_table * | self, |
| int | i, | ||
| int | j | ||
| ) |
rget the exptime of a target
| self | the TARGET_TABLE |
| i | the index of the TARGET_TABLE |
| j | the band |
Definition at line 1528 of file moo_target_table.c.
Referenced by moo_create_s1d().
| moo_target_table * moo_target_table_load | ( | const cpl_frame * | frame | ) |
Load a TARGET_TABLE frame and create a moo_target_table.
| frame | the TARGET_TABLE frame |
The returned object must be deallocated using moo_target_table_delete().
Possible cpl_error_code set in this function:
Definition at line 1234 of file moo_target_table.c.
References moo_target_table_delete(), and moo_target_table_new().
| cpl_error_code moo_target_table_merge | ( | moo_target_table * | self, |
| moo_target_table * | tomerge | ||
| ) |
Merge two TARGET_TABLE.
| self | the merge result TARGET_TABLE |
| tomerge | the TARGET_TABLE to merge |
Possible cpl_error_code set in this function:
Definition at line 1294 of file moo_target_table.c.
References moo_table_or_selected_sequal_string().
| const char * moo_target_table_mode_get_name | ( | moo_target_table_mode | m | ) |
Get the name of target mode.
| m | the target mode |
Error code:
Definition at line 60 of file moo_target_table.c.
| moo_target_table * moo_target_table_new | ( | void | ) |
Create a new moo_target_table.
The returned object must be deallocated using moo_target_table_delete().
Definition at line 76 of file moo_target_table.c.
Referenced by moo_sci_get_target_table(), moo_target_table_duplicate(), and moo_target_table_load().
| cpl_error_code moo_target_table_remove_coadd_cols | ( | moo_target_table * | self | ) |
remove columns for coadd in target_table
| self | the TARGET_TABLE |
Definition at line 1390 of file moo_target_table.c.
Referenced by moo_coadd().
| cpl_error_code moo_target_table_select_nod | ( | moo_target_table * | self | ) |
select STARE object in trget table
| self | the target table |
Definition at line 1083 of file moo_target_table.c.
| cpl_array * moo_target_table_select_obj_index | ( | moo_target_table * | self, |
| int | ispaired | ||
| ) |
get the index of the object in the target table sort by indexrbn
| self | the target table |
| ispaired | if TRUE select the index of fibres in paired mode |
Definition at line 1184 of file moo_target_table.c.
Referenced by moo_sub_sky_stare().
| cpl_error_code moo_target_table_select_pnod | ( | moo_target_table * | self | ) |
select STARE object in trget table
| self | the target table |
Definition at line 1108 of file moo_target_table.c.
| cpl_error_code moo_target_table_select_pstare | ( | moo_target_table * | self | ) |
select PSTARE object in trget table
| self | the target table |
Definition at line 1056 of file moo_target_table.c.
| cpl_array * moo_target_table_select_sky_index | ( | moo_target_table * | self, |
| moo_rbn * | sky_rbn | ||
| ) |
get the index of the sky in the target table sort by indexspec
| self | the target table |
| sky_rbn | the RBN sky |
Definition at line 973 of file moo_target_table.c.
References moo_fibres_table_by_indexrbn(), and moo_rbn_get_fibre_table().
Referenced by moo_sub_sky_stare().
| cpl_error_code moo_target_table_select_stare | ( | moo_target_table * | self | ) |
select STARE object in trget table
| self | the target table |
Definition at line 1027 of file moo_target_table.c.
| int moo_target_table_xswitch_paired | ( | moo_target_table * | self | ) |
get the index of the object in the target table sort by indexrbn
| self | the target table |
Definition at line 1131 of file moo_target_table.c.
Referenced by moo_sub_sky_stare().