convert_sm_par.pro

This function converts a STXM 4 sm_par structure to a STXM 5 sm_par structure. All the tags which have a direct counterpart are converted. The STXM 5 tags which don't have a direct counterpart and can't be determined automatically can be specified on the command line.

The calling sequence is

IDL> sm_par_stxm5 = convert_sm_par(sm_par_stxm4, $
                      detector=detector, $
                      sidet_n_segments=sidet_n_segments, $
                      sidet_crosstalk_matrix=sidet_crosstalk_matrix, $
                      sidet_u0_mvolts=sidet_u0_mvolts, $
                      sidet_c_idark_mvolts_per_ms=sidet_c_idark_mvolts_per_ms, $
                      sidet_mvolts_per_femtocoulomb=sidet_mvolts_per_femtocoulomb, $
                      sidet_photons_per_femtocoulomb=sidet_photons_per_femtocoulomb, $
                      sidet_deadtime_ms=sidet_deadtime_ms

detector will be 0 for the proportional counter and 1 for the silicon detector. All the other keyword parameters are for the silicon detector calibration.



Holger Fleckenstein 2008-07-08