This procedure can convert a STXM 4 data file to STXM 5 format. Due to the differences in the file format, you have to give some additional information. The information for the silicon detector calibration will be read from some files which you also have to specify. The calling sequence is:
IDL> stxm4tostxm5, data_file=data_file, $
crosstalk_file=crosstalk_file, $
c_tune_file=c_tune_file, $
disp_file=disp_file, $
output_file=output_file, $
detector=detector, $
disp_name=disp_name
Holger Fleckenstein 2008-07-08