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 | |
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_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. |
double xsh_arcsec_get | ( | xsh_instrument * | instrument | ) |
Get the Arc seconds per pixel for this Arm.
instrument | Instrument description structure |
Definition at line 440 of file xsh_data_instrument.c.
References arm, XSH_ARCSEC_NIR, XSH_ARCSEC_UVB, XSH_ARCSEC_VIS, XSH_ARM_NIR, XSH_ARM_UVB, and XSH_ARM_VIS.
XSH_ARM xsh_arm_get | ( | const char * | tag | ) |
get the arm from the frame tag
tag | (valid by dfs) |
Definition at line 138 of file xsh_data_instrument.c.
References XSH_ARM_NIR, XSH_ARM_UNDEFINED, XSH_ARM_UVB, and XSH_ARM_VIS.
Referenced by HandleOptions(), xsh_instrument_parse_tag(), and xsh_pfits_get_arm().
const char* xsh_arm_tostring | ( | XSH_ARM | arm | ) |
Get the string associated with an arm.
arm | the arm we use |
Definition at line 704 of file xsh_data_instrument.c.
References XSH_ARM_NIR, XSH_ARM_UVB, and XSH_ARM_VIS.
Referenced by xsh_build_ifu_cube(), xsh_ifu_trace_object_calibrate(), xsh_instrument_arm_tostring(), xsh_instrument_set_arm(), xsh_instrument_update_from_spectralformat(), and xsh_util_ifu_build_cube().
const char* xsh_instrument_arm_tostring | ( | xsh_instrument * | i | ) |
Get the string associated with an arm.
i | the instrument we use |
Definition at line 668 of file xsh_data_instrument.c.
References arm, and xsh_arm_tostring().
Referenced by create_resid_tab(), get_resid_ifu_slitlet_tag(), get_tilt_ifu_slitlet_tag(), get_wave_ifu_slitlet_tag(), main(), xsh_2dmap(), xsh_add_sky_model(), xsh_afcthetab_create(), xsh_bpmap_2pre(), xsh_cfg_recover_last_step(), xsh_check_divide_flat(), xsh_check_get_map(), xsh_check_load_master_bpmap(), xsh_check_remove_crh_single(), xsh_check_subtract_bias(), xsh_check_subtract_sky_single(), xsh_compute_linearity(), xsh_compute_noise_map(), xsh_compute_response(), xsh_compute_response_ord(), xsh_compute_slice_dist(), xsh_create_dispersol_physmod(), xsh_create_master_bias(), xsh_create_master_bpmap(), xsh_create_master_dark(), xsh_cube_qc_trace_window(), xsh_detect_arclines(), xsh_detect_order_edge(), xsh_dfs_set_groups(), xsh_efficiency_compute(), xsh_find_calpro_model_config(), xsh_find_calpro_model_meas_coord(), xsh_find_model_config_open(), xsh_find_model_testpar(), xsh_find_model_wavelist(), xsh_find_spectral_format(), xsh_fit_gaussian(), xsh_flat_merge_qth_d2(), xsh_flexcomp(), xsh_flux_calibrate(), xsh_follow_arclines(), xsh_frame_image_ext_qc_trace_window(), xsh_frame_image_qc_trace_window(), xsh_geom_ifu(), xsh_get_tag_from_arm(), xsh_image_get_hot_cold_pixs(), xsh_image_local_cold_pixs(), xsh_image_local_hot_pixs(), xsh_image_mflat_detect_blemishes(), xsh_image_mflat_detect_hotcold(), xsh_instrument_set_arm(), xsh_linear(), xsh_lingain(), xsh_localize_obj_ifu(), xsh_mbias(), xsh_mdark(), xsh_mflat(), xsh_model_first_anneal(), xsh_model_order_edges_tab_create(), xsh_model_temperature_update_frame(), xsh_order_table_from_fmtchk(), xsh_orderpos(), xsh_paf_save(), xsh_pfits_set_arm(), xsh_predict(), xsh_respon_slit_offset(), xsh_respon_slit_stare(), xsh_scired_ifu_offset(), xsh_scired_ifu_stare(), xsh_scired_slit_nod_accurate(), xsh_scired_slit_nod_fast(), xsh_scired_slit_offset(), xsh_scired_slit_stare(), xsh_scired_util_spectra_flux_calibrate(), xsh_slit_stare_correct_crh_and_sky(), xsh_slit_stare_get_maps(), xsh_spectrum_resample(), xsh_subtract_bias(), xsh_subtract_sky_nod(), xsh_subtract_sky_offset(), xsh_subtract_sky_single(), xsh_util_bpmap_coadd(), xsh_util_bpmap_nl_raw2pre(), xsh_util_crh_single(), xsh_util_frameset_collapse_mean(), xsh_utils_efficiency(), xsh_wavecal(), xsh_wavelist_subtract_sky(), and xsh_wavemap_list_new().
xsh_instrument* xsh_instrument_duplicate | ( | xsh_instrument * | old | ) |
Definition at line 99 of file xsh_data_instrument.c.
References check, config, and xsh_instrument_new().
Referenced by xsh_rec_list_duplicate().
void xsh_instrument_free | ( | xsh_instrument ** | instrument | ) |
free an instrument structure
instrument | the pointer on the structure to deallocate |
Definition at line 120 of file xsh_data_instrument.c.
Referenced by main(), xsh_2dmap(), xsh_cfg_recover_driver(), xsh_dfs_set_groups(), xsh_flexcomp(), xsh_geom_ifu(), xsh_linear(), xsh_mbias(), xsh_mdark(), xsh_mflat(), xsh_model(), xsh_model_anneal(), xsh_model_binxy(), xsh_model_config_load_best(), xsh_model_first_anneal(), xsh_model_readfits(), xsh_model_reduce(), xsh_orderpos(), xsh_predict(), xsh_respon_slit_nod(), xsh_respon_slit_offset(), xsh_respon_slit_stare(), xsh_scired_ifu_offset(), xsh_scired_ifu_stare(), xsh_scired_slit_nod(), xsh_scired_slit_offset(), xsh_scired_slit_stare(), xsh_util_afc(), xsh_util_apply_response(), xsh_util_bpmap_nl_raw2pre(), xsh_util_compute_response(), xsh_util_efficiency1d(), xsh_util_efficiency2d(), xsh_util_guess_xy(), xsh_util_ifu_build_cube(), xsh_util_integrate(), xsh_util_physmod(), and xsh_wavecal().
XSH_ARM xsh_instrument_get_arm | ( | xsh_instrument * | i | ) |
Get an arm on instrument structure.
Definition at line 418 of file xsh_data_instrument.c.
References arm.
Referenced by compute_abs_order(), do_compute(), main(), xsh_2dmap(), xsh_cfg_recover_last_step(), xsh_check_load_master_bpmap(), xsh_check_subtract_bias(), xsh_compute_fpn_mbias(), xsh_compute_noise_map(), xsh_compute_response(), xsh_compute_response_ord(), xsh_create_master_bpmap(), xsh_create_master_dark(), xsh_dfs_set_groups(), xsh_fill_high_abs_regions(), xsh_flexcomp(), xsh_flexcor(), xsh_frame_sci_get_gain_airmass_exptime_naxis1_biny(), xsh_frame_table_monitor_flux_qc_ext(), xsh_gain(), xsh_geom_ifu(), xsh_image_mflat_detect_blemishes(), xsh_image_mflat_detect_hotcold(), xsh_interpolate_atm_ext(), xsh_lingain(), xsh_localize_obj_auto(), xsh_mdark(), xsh_mdark_get_contam(), xsh_mflat(), xsh_mflat_recipe_main(), xsh_model_get_xy(), xsh_model_locus(), xsh_model_maps_create(), xsh_model_reduce(), xsh_model_temperature_update_frame(), xsh_model_temperature_update_structure(), xsh_model_THE_create(), xsh_monitor_flux(), xsh_monitor_spectrum1D_flux(), xsh_normalize_spectrum(), xsh_normalize_spectrum_ord(), xsh_opt_extract_orders(), xsh_orderpos(), xsh_params_set_defaults(), xsh_pfits_get_slit_value(), xsh_pfits_get_slit_width(), xsh_pre_create(), xsh_pre_from_raw_get(), xsh_pre_init(), xsh_predict(), xsh_rec_list_create(), xsh_rectify_orders_ifu(), xsh_remove_crh_single(), xsh_respon_slit_nod(), xsh_respon_slit_offset(), xsh_respon_slit_stare(), xsh_scired_ifu_offset(), xsh_scired_ifu_stare(), xsh_scired_nod_params_set_defaults(), xsh_scired_slit_nod(), xsh_scired_slit_nod_get_calibs(), xsh_scired_slit_offset(), xsh_scired_slit_stare(), xsh_slit_offset_get_calibs(), xsh_slit_stare_get_calibs(), xsh_spectrum_resample(), xsh_subtract_background(), xsh_subtract_dark(), xsh_subtract_sky_single(), xsh_util_compute_qc_residuals(), xsh_util_efficiency2d(), xsh_util_physmod_model_THE_create(), xsh_vector_divide_poly(), xsh_wavecal(), xsh_wavemap_lambda_range(), xsh_wavemap_list_create(), and xsh_wavemap_list_new().
int xsh_instrument_get_binx | ( | xsh_instrument * | instrument | ) |
Definition at line 608 of file xsh_data_instrument.c.
References binx, and XSH_ASSURE_NOT_NULL.
Referenced by xsh_create_dispersol_physmod(), xsh_create_poly_wavemap(), xsh_dispersol_list_new(), xsh_model_maps_create(), xsh_order_list_create(), xsh_order_list_load(), xsh_wavesol_create(), and xsh_wavesol_load().
int xsh_instrument_get_biny | ( | xsh_instrument * | instrument | ) |
Definition at line 619 of file xsh_data_instrument.c.
References biny, and XSH_ASSURE_NOT_NULL.
Referenced by xsh_create_dispersol_physmod(), xsh_create_poly_wavemap(), xsh_dispersol_list_new(), xsh_model_maps_create(), xsh_order_list_create(), xsh_order_list_load(), xsh_wavesol_create(), and xsh_wavesol_load().
XSH_INSTRCONFIG* xsh_instrument_get_config | ( | xsh_instrument * | i | ) |
Get the instrument default set of keywords.
i | the instrument we use |
Definition at line 529 of file xsh_data_instrument.c.
References arm, assure, binx, biny, XSH_INSTRCONFIG::bitpix, XSH_INSTRCONFIG::conad, config, lamp, XSH_INSTRCONFIG::naxis, XSH_INSTRCONFIG::naxis1, XSH_INSTRCONFIG::naxis2, nir_orders_max, nir_orders_min, nir_orders_nb, XSH_INSTRCONFIG::nx, XSH_INSTRCONFIG::ny, XSH_INSTRCONFIG::order_max, XSH_INSTRCONFIG::order_min, XSH_INSTRCONFIG::orders, XSH_INSTRCONFIG::ovscx, XSH_INSTRCONFIG::ovscy, XSH_INSTRCONFIG::prscx, XSH_INSTRCONFIG::prscy, XSH_INSTRCONFIG::pxspace, XSH_INSTRCONFIG::ron, update, uvb_orders_d2_nb, uvb_orders_max, uvb_orders_min, uvb_orders_nb, uvb_orders_qth_nb, vis_orders_max, vis_orders_min, vis_orders_nb, XSH_ARM_UNDEFINED, XSH_ARM_UVB, XSH_ARM_VIS, XSH_FREE, XSH_LAMP_D2, XSH_LAMP_QTH, and XSH_MALLOC.
Referenced by create_frame(), main(), xsh_dfs_set_groups(), xsh_flexcor(), xsh_model_binxy(), xsh_model_config_load_best(), xsh_model_readfits(), xsh_model_reduce(), xsh_order_list_create(), xsh_order_table_from_fmtchk(), xsh_predict(), xsh_test_create_bias_image(), xsh_test_create_frame(), and xsh_wavemap_list_create().
XSH_LAMP xsh_instrument_get_lamp | ( | xsh_instrument * | i | ) |
Get a lamp on instrument structure.
i | the instrument we use |
Definition at line 429 of file xsh_data_instrument.c.
References lamp.
Referenced by xsh_prepare().
XSH_MODE xsh_instrument_get_mode | ( | xsh_instrument * | i | ) |
Get a mode on instrument structure.
Definition at line 408 of file xsh_data_instrument.c.
References mode.
Referenced by main(), xsh_calibrate_flux(), xsh_compute_flat_edges(), xsh_detect_order_edge(), xsh_dispersol_list_to_slitmap(), xsh_ensure_raws_input_offset_recipe_is_proper(), xsh_extract_obj_and_sky_pairs(), xsh_get_slit_edges(), xsh_model_compute_slitmap_kw(), xsh_model_maps_create(), xsh_params_set_defaults(), xsh_shift_tab_create(), xsh_shift_tab_load(), and xsh_wavecal().
const char* xsh_instrument_lamp_tostring | ( | xsh_instrument * | i | ) |
Get the string associated with a lamp.
i | the instrument we use |
Definition at line 679 of file xsh_data_instrument.c.
References lamp, and xsh_lamp_tostring().
Referenced by xsh_instrument_set_lamp().
const char* xsh_instrument_mode_tostring | ( | xsh_instrument * | i | ) |
Get the string associated with a mode.
i | the instrument we use |
Definition at line 657 of file xsh_data_instrument.c.
References mode, and xsh_mode_tostring().
Referenced by xsh_compute_response(), xsh_compute_response_ord(), xsh_dfs_set_groups(), xsh_efficiency_compute(), xsh_flat_merge_qth_d2(), xsh_mflat(), and xsh_wavecal().
xsh_instrument* xsh_instrument_new | ( | void | ) |
create new instrument structure
Definition at line 66 of file xsh_data_instrument.c.
References arm, assure, binx, biny, config, dictionary, instrument, lamp, mode, nir_orders_max, nir_orders_min, nir_orders_nb, pipeline_id, recipe_id, update, uvb_orders_d2_nb, uvb_orders_max, uvb_orders_min, uvb_orders_nb, uvb_orders_qth_nb, vis_orders_max, vis_orders_min, vis_orders_nb, XSH_ARM_UNDEFINED, XSH_LAMP_UNDEFINED, XSH_MODE_UNDEFINED, XSH_ORDER_MAX_NIR, XSH_ORDER_MAX_UVB, XSH_ORDER_MAX_VIS, XSH_ORDER_MIN_NIR, XSH_ORDER_MIN_UVB, XSH_ORDER_MIN_VIS, XSH_ORDERS_NIR, XSH_ORDERS_UVB, XSH_ORDERS_UVB_D2, XSH_ORDERS_UVB_QTH, and XSH_ORDERS_VIS.
Referenced by main(), xsh_dfs_set_groups(), xsh_instrument_duplicate(), xsh_model(), xsh_model_anneal(), xsh_model_binxy(), xsh_model_config_load_best(), xsh_model_first_anneal(), xsh_model_order_edges_tab_create(), xsh_model_readfits(), xsh_model_reduce(), and xsh_model_spectralformat_create().
void xsh_instrument_parse_tag | ( | xsh_instrument * | inst, | |
const char * | tag | |||
) |
analyse a frame tag to set data in instrument structure
inst | the instrument sructure to complete or update | |
tag | a valid xshooter tag (validate by dfs) |
Definition at line 194 of file xsh_data_instrument.c.
References mode, xsh_arm_get(), xsh_instrument_set_arm(), xsh_instrument_set_lamp(), xsh_instrument_set_mode(), xsh_lamp_get(), and xsh_mode_get().
Referenced by main(), and xsh_dfs_set_groups().
void xsh_instrument_set_arm | ( | xsh_instrument * | i, | |
XSH_ARM | arm | |||
) |
Set an arm on instrument structure.
i | the instrument structure | |
arm | instrument arm in use, if an arm is already defined for the instrument the new arm must be equal to the older!! |
Definition at line 238 of file xsh_data_instrument.c.
References arm, assure, update, xsh_arm_tostring(), XSH_ARM_UNDEFINED, and xsh_instrument_arm_tostring().
Referenced by main(), xsh_instrument_parse_tag(), xsh_model(), xsh_model_anneal(), xsh_model_binxy(), xsh_model_config_load_best(), xsh_model_first_anneal(), xsh_model_order_edges_tab_create(), xsh_model_readfits(), xsh_model_reduce(), and xsh_model_spectralformat_create().
void xsh_instrument_set_binx | ( | xsh_instrument * | instrument, | |
const int | binx | |||
) |
Definition at line 630 of file xsh_data_instrument.c.
References binx, and XSH_ASSURE_NOT_NULL.
Referenced by xsh_model_reduce(), and xsh_util_physmod().
void xsh_instrument_set_biny | ( | xsh_instrument * | instrument, | |
const int | biny | |||
) |
Definition at line 640 of file xsh_data_instrument.c.
References biny, and XSH_ASSURE_NOT_NULL.
Referenced by xsh_model_reduce(), and xsh_util_physmod().
void xsh_instrument_set_lamp | ( | xsh_instrument * | i, | |
XSH_LAMP | lamp | |||
) |
Set a lamp on instrument structure.
i | the instrument structure | |
lamp | instrument lamp in use, if a lamp is already defined for the instrument the new lamp must be equal to the older or UNDEFINED!! |
Definition at line 267 of file xsh_data_instrument.c.
References arm, assure, lamp, XSH_ARM_UVB, xsh_instrument_lamp_tostring(), XSH_LAMP_D2, XSH_LAMP_QTH, XSH_LAMP_QTH_D2, xsh_lamp_tostring(), and XSH_LAMP_UNDEFINED.
Referenced by main(), and xsh_instrument_parse_tag().
void xsh_instrument_set_mode | ( | xsh_instrument * | i, | |
XSH_MODE | mode | |||
) |
Set a mode on instrument structure.
i | the instrument structure | |
mode | instrument mode of use, if a mode is already defined for the instrument the new mode (if valid) must be equal to the older!! |
Definition at line 212 of file xsh_data_instrument.c.
References mode, and XSH_MODE_UNDEFINED.
Referenced by main(), xsh_cfg_recover_last_step(), xsh_instrument_parse_tag(), xsh_model_reduce(), and xsh_predict().
void xsh_instrument_set_recipe_id | ( | xsh_instrument * | instrument, | |
const char * | recipe_id | |||
) |
Set the recipe_id into the instrument structure.
instrument | the instrument structure | |
recipe_id | The recipe_id (a string) |
Definition at line 388 of file xsh_data_instrument.c.
References recipe_id.
Referenced by add_noisy_pixels(), main(), and xsh_begin().
void xsh_instrument_update_from_spectralformat | ( | xsh_instrument * | i, | |
cpl_frame * | spectralformat_frame | |||
) |
Definition at line 299 of file xsh_data_instrument.c.
References xsh_spectralformat::absorder, arm, assure, check, xsh_spectralformat::lamp, xsh_spectralformat_list::list, nir_orders_max, nir_orders_min, nir_orders_nb, xsh_spectralformat_list::size, update, uvb_orders_d2_nb, uvb_orders_max, uvb_orders_min, uvb_orders_nb, uvb_orders_qth_nb, vis_orders_max, vis_orders_min, vis_orders_nb, XSH_ARM_NIR, xsh_arm_tostring(), XSH_ARM_UNDEFINED, XSH_ARM_UVB, XSH_ARM_VIS, XSH_ASSURE_NOT_ILLEGAL, XSH_ASSURE_NOT_NULL, xsh_msg, xsh_msg_dbg_low, xsh_spectralformat_list_free(), and xsh_spectralformat_list_load().
Referenced by xsh_2dmap(), xsh_flexcomp(), xsh_mflat(), xsh_orderpos(), xsh_predict(), xsh_slit_stare_get_calibs(), and xsh_wavecal().
void xsh_instrument_update_lamp | ( | xsh_instrument * | i, | |
XSH_LAMP | lamp | |||
) |
Definition at line 289 of file xsh_data_instrument.c.
References lamp, update, and XSH_ASSURE_NOT_NULL.
Referenced by xsh_flat_merge_qth_d2(), xsh_mflat(), and xsh_orderpos().
XSH_LAMP xsh_lamp_get | ( | const char * | tag | ) |
get the lamp from the frame tag
tag | (valid by dfs) |
Definition at line 179 of file xsh_data_instrument.c.
References XSH_LAMP_D2, XSH_LAMP_QTH, XSH_LAMP_THAR, and XSH_LAMP_UNDEFINED.
Referenced by xsh_instrument_parse_tag().
const char* xsh_lamp_tostring | ( | XSH_LAMP | lamp | ) |
Get the string associated with a lamp.
lamp | the lamp we use |
Definition at line 718 of file xsh_data_instrument.c.
References XSH_LAMP_D2, XSH_LAMP_QTH, and XSH_LAMP_THAR.
Referenced by xsh_instrument_lamp_tostring(), and xsh_instrument_set_lamp().
XSH_MODE xsh_mode_get | ( | const char * | tag | ) |
get the mode from the frame tag
tag | (valid by dfs) |
Definition at line 152 of file xsh_data_instrument.c.
References XSH_MODE_IFU, XSH_MODE_SLIT, and XSH_MODE_UNDEFINED.
Referenced by xsh_instrument_parse_tag().
void xsh_mode_set | ( | xsh_instrument * | instrument, | |
XSH_MODE | mode | |||
) |
set the instrument mode as user specifies
instrument | instrument structure | |
mode | instrument mode |
Definition at line 167 of file xsh_data_instrument.c.
References mode.
Referenced by xsh_scired_ifu_offset(), and xsh_scired_ifu_stare().
const char* xsh_mode_tostring | ( | XSH_MODE | mode | ) |
Get the string associated with a mode.
mode | the mode we use |
Definition at line 691 of file xsh_data_instrument.c.
References XSH_MODE_IFU, and XSH_MODE_SLIT.
Referenced by xsh_instrument_mode_tostring().
double xsh_resolution_get | ( | xsh_instrument * | instrument, | |
double | slit | |||
) |
Get the resoltion.
instrument | Instrument description structure | |
slit | the slit size |
Definition at line 458 of file xsh_data_instrument.c.
References arm, mode, XSH_ARM_NIR, XSH_ARM_UVB, XSH_ARM_VIS, XSH_MODE_IFU, and XSH_MODE_SLIT.
Referenced by xsh_localize_obj_auto().