#include <xsh_data_instrument.h>#include <xsh_data_order.h>#include <xsh_pfits.h>#include <xsh_data_spectralformat.h>#include <xsh_msg.h>#include <xsh_dfs.h>#include <xsh_error.h>#include <string.h>Go to the source code of this file.
Functions | |
| xsh_instrument * | xsh_instrument_new (void) |
| create new instrument structure | |
| xsh_instrument * | xsh_instrument_duplicate (xsh_instrument *old) |
| void | xsh_instrument_free (xsh_instrument **instrument) |
| free an instrument structure | |
| XSH_ARM | xsh_arm_get (const char *tag) |
| get the arm from the frame tag | |
| XSH_MODE | xsh_mode_get (const char *tag) |
| get the mode from the frame tag | |
| void | xsh_mode_set (xsh_instrument *instrument, XSH_MODE mode) |
| set the instrument mode as user specifies | |
| void | xsh_decode_bp_set (xsh_instrument *instrument, const int decode_bp) |
| set the instrument mode as user specifies | |
| XSH_LAMP | xsh_lamp_get (const char *tag) |
| get the lamp from the frame tag | |
| void | xsh_instrument_parse_tag (xsh_instrument *inst, const char *tag) |
| analyse a frame tag to set data in instrument structure | |
| void | xsh_instrument_set_decode_bp (xsh_instrument *i, const int decode_bp) |
| Set bad pixel code. | |
| void | xsh_instrument_set_mode (xsh_instrument *i, XSH_MODE mode) |
| Set a mode on instrument structure. | |
| void | xsh_instrument_set_arm (xsh_instrument *i, XSH_ARM arm) |
| Set an arm on instrument structure. | |
| void | xsh_instrument_set_lamp (xsh_instrument *i, XSH_LAMP lamp) |
| Set a lamp on instrument structure. | |
| void | xsh_instrument_update_lamp (xsh_instrument *i, XSH_LAMP lamp) |
| void | xsh_instrument_update_from_spectralformat (xsh_instrument *i, cpl_frame *spectralformat_frame) |
| void | xsh_instrument_set_recipe_id (xsh_instrument *instrument, const char *recipe_id) |
| Set the recipe_id into the instrument structure. | |
| XSH_MODE | xsh_instrument_get_mode (xsh_instrument *i) |
| Get a mode on instrument structure. | |
| XSH_ARM | xsh_instrument_get_arm (xsh_instrument *i) |
| Get an arm on instrument structure. | |
| XSH_LAMP | xsh_instrument_get_lamp (xsh_instrument *i) |
| Get a lamp on instrument structure. | |
| double | xsh_arcsec_get (xsh_instrument *instrument) |
| Get the Arc seconds per pixel for this Arm. | |
| double | xsh_resolution_get (xsh_instrument *instrument, double slit) |
| Get the resoltion. | |
| XSH_INSTRCONFIG * | xsh_instrument_get_config (xsh_instrument *i) |
| Get the instrument default set of keywords. | |
| int | xsh_instrument_get_binx (xsh_instrument *instrument) |
| int | xsh_instrument_get_biny (xsh_instrument *instrument) |
| void | xsh_instrument_set_binx (xsh_instrument *instrument, const int binx) |
| void | xsh_instrument_set_biny (xsh_instrument *instrument, const int biny) |
| const char * | xsh_instrument_mode_tostring (xsh_instrument *i) |
| Get the string associated with a mode. | |
| const char * | xsh_instrument_arm_tostring (xsh_instrument *i) |
| Get the string associated with an arm. | |
| const char * | xsh_instrument_lamp_tostring (xsh_instrument *i) |
| Get the string associated with a lamp. | |
| const char * | xsh_mode_tostring (XSH_MODE mode) |
| Get the string associated with a mode. | |
| const char * | xsh_arm_tostring (XSH_ARM arm) |
| Get the string associated with an arm. | |
| const char * | xsh_lamp_tostring (XSH_LAMP lamp) |
| Get the string associated with a lamp. | |
| int | xsh_instrument_nir_is_JH (cpl_frame *frame, xsh_instrument *instr) |
| cpl_error_code | xsh_instrument_nir_corr_if_JH (cpl_frameset *raws, xsh_instrument *instr) |
| cpl_error_code | xsh_instrument_nir_corr_if_spectral_format_is_JH (cpl_frameset *calib, xsh_instrument *instr) |
1.6.1