|
MOONS Pipeline Reference Manual 0.13.2
|
This module provides functions to manipulate detectors. More...
Functions | |
| const char * | moo_detector_get_err_extname (moo_detector_type type, int ntas) |
| Get the ERROR extension name of a detector. | |
| const char * | moo_detector_get_qual_extname (moo_detector_type type, int ntas) |
| Get the QUAL extension name of a detector. | |
| const char * | moo_detector_get_extname (moo_detector_type type, int ntas) |
| Get the extension name of a detector. | |
| int | moo_detector_get_spectro (int ntas) |
| Get the spctro name for a ntas. | |
| const char * | moo_detector_get_name (moo_detector_type type) |
| Get the extension name of a detector. | |
| const char * | moo_mode_get_name (moo_mode_type type) |
| Get the name of a mode. | |
| moo_mode_type | moo_mode_get (const cpl_frame *frame) |
| Get the name of a mode from a frame. | |
| int | moo_offset_get (const cpl_frame *refframe) |
| Get the offset from a frame. | |
| enum | _moo_detector_type_ { MOO_TYPE_RI , MOO_TYPE_YJ , MOO_TYPE_H } |
| the different type of detectors More... | |
| typedef enum _moo_detector_type_ | moo_detector_type |
| The type code type. | |
This module provides functions to manipulate detectors.
Functionality include:
| enum _moo_detector_type_ |
the different type of detectors
| Enumerator | |
|---|---|
| MOO_TYPE_RI | RI detector type |
| MOO_TYPE_YJ | YJ detector type |
| MOO_TYPE_H | H detector type |
Definition at line 39 of file moo_detector.h.
| const char * moo_detector_get_err_extname | ( | moo_detector_type | type, |
| int | ntas | ||
| ) |
Get the ERROR extension name of a detector.
| type | the type of detector |
| ntas | number of spectrograph [1,2] |
Error code:
Definition at line 66 of file moo_detector.c.
Referenced by moo_pfits_append_hduclass_data(), and moo_pfits_append_hduclass_quality().
| const char * moo_detector_get_extname | ( | moo_detector_type | type, |
| int | ntas | ||
| ) |
Get the extension name of a detector.
| type | the type of detector |
| ntas | number of spectrograph [1,2] |
Error code:
Definition at line 137 of file moo_detector.c.
References moo_detector_get_name().
Referenced by moo_apply_flat(), moo_apply_p2p(), moo_bpm_add_data(), moo_bpm_save(), moo_compute_fibtrans(), moo_compute_hot_map(), moo_compute_p2p(), moo_correct_dark(), moo_cube_add_data(), moo_cube_save(), moo_ext_add_single(), moo_ext_single_create(), moo_ext_single_new(), moo_ext_single_save(), moo_extract(), moo_flat_shift_compute(), moo_loc_load(), moo_map_save(), moo_mask_save(), moo_model_flat(), moo_pfits_append_hduclass_error(), moo_pfits_append_hduclass_quality(), moo_prepare(), moo_prepare_adu(), moo_psf_load(), moo_regionlist_load_layout(), moo_saturate_map_add_data(), moo_saturate_map_save(), moo_single_create(), moo_single_new(), and moo_single_save().
| const char * moo_detector_get_name | ( | moo_detector_type | type | ) |
Get the extension name of a detector.
| type | the type of detector |
Error code:
Definition at line 183 of file moo_detector.c.
Referenced by moo_detector_get_extname(), moo_map_check(), moo_molecfit_model(), moo_molectable_load(), moo_molectable_save(), moo_qc_set_fibtrans_max(), moo_qc_set_fibtrans_med(), moo_qc_set_fibtrans_min(), moo_rbn_single_create(), moo_rbn_single_new(), moo_rbn_single_save(), moo_rebin(), moo_sci_single_create(), moo_sci_single_new(), moo_sci_single_save(), and moo_spectral_format_get().
| const char * moo_detector_get_qual_extname | ( | moo_detector_type | type, |
| int | ntas | ||
| ) |
Get the QUAL extension name of a detector.
| type | the type of detector |
| ntas | number of spectrograph [1,2] |
Error code:
Definition at line 101 of file moo_detector.c.
Referenced by moo_pfits_append_hduclass_data(), moo_pfits_append_hduclass_error(), and moo_single_load().
| int moo_detector_get_spectro | ( | int | ntas | ) |
Get the spctro name for a ntas.
| ntas | the ntas of detector |
Error code:
Definition at line 165 of file moo_detector.c.
| moo_mode_type moo_mode_get | ( | const cpl_frame * | frame | ) |
Get the name of a mode from a frame.
| frame | the frame where to read the mode |
Error code:
Definition at line 224 of file moo_detector.c.
References moo_pfits_get_mode().
| const char * moo_mode_get_name | ( | moo_mode_type | type | ) |
Get the name of a mode.
| type | the mode |
Error code:
Definition at line 204 of file moo_detector.c.
Referenced by moo_spectral_format_load().
| int moo_offset_get | ( | const cpl_frame * | refframe | ) |
Get the offset from a frame.
| refframe | the reference frame where to read the offset |
Error code:
Definition at line 254 of file moo_detector.c.
References moo_pfits_get_slit_offset().