/******************************************************************************/ /* PSD - FM - Scientific Software */ /* -------------------------------------------------------------------------- */ /* Version: 1.07 */ /* Date : 15-Nov-1999 */ /* Author : Jurgen Knodlseder, CESR (C) 1999 */ /* -------------------------------------------------------------------------- */ /* int = 2 Bytes */ /* float = 4 Bytes */ /* -------------------------------------------------------------------------- */ /* init.-code = code fragment where memory gets initialised */ /******************************************************************************/ SCIENCE.S VARIABLES RAM 0 (starting from 0xfff300): =================================================== variable | size | address | default | init.-code ----------------+--------------------+----------+-----------------+------------ jaddlibrary: 2*int 0xfff300 0x000036c0 analinit Jcorrelate: 2*int 0xfff304 0x0000314c analinit Jposterror: 2*int 0xfff308 0x00003fcc analinit Canal_step0: 2*int 0xfff30c 0x00004150 analinit Canal_step1: 2*int 0xfff310 0x00004388 analinit Canal_step2: 2*int 0xfff314 0x00004b84 analinit Canal_step3: 2*int 0xfff318 0x00004cc4 analinit Canal_step4: 2*int 0xfff31c 0x00005280 analinit Canal_step5: 2*int 0xfff320 0x00005728 analinit Ceewrite: 2*int 0xfff324 0x00003e54 analinit Ccalcoffset: 2*int 0xfff328 0x00003d84 analinit off_lib_2: 78*int 0xfff32c i*256 (i=0..38) calcoffset off_lib_3: 38*int 0xfff3c8 i*9728 (i=0..18) calcoffset off_lEE_3: 38*int 0xfff414 i*9984 (i=0..18) calcoffset off_lEE_4: 16*int 0xfff460 i*189696 (i=0..7) calcoffset off_lxl_2: 38*int 0xfff480 i*152 (i=0..18) calcoffset off_lxx_2: 76*int 0xfff4cc i*152 (i=0..37) calcoffset off_lxx_3: 38*int 0xfff564 i*5776 (i=0..18) calcoffset pulse: 96*float 0xfff5b0 not initialised - alpha: 38*float 0xfff730 not initialised - SCIENCE.S VARIABLES RAM 2 (starting from 0xffe400): =================================================== variable | size | address | default | init.-code ----------------+--------------------+----------+-----------------+------------ nominator: 38*float 0xffe400 not initialised - baseline_avg: 19*float 0xffe498 all 0x00 analinit baseline_nout: 19*float 0xffe4e4 all 0x00 analinit lib_valid: 19*byte 0xffe530 (C1) correlate off_lib_p: 38*int 0xffe544 i*204 (i=0..18) calcoffset gain0: float 0xffe590 not initialised - gain1: float 0xffe594 not initialised - gain2: float 0xffe598 not initialised - gain3: float 0xffe59c not initialised - offset0: float 0xffe5a0 not initialised - offset1: float 0xffe5a4 not initialised - offset2: float 0xffe5a8 not initialised - offset3: float 0xffe5ac not initialised - eenum: 2*int 0xffe5b0 not initialised - eesrc: 2*int 0xffe5b4 not initialised - eedst: 2*int 0xffe5b8 not initialised - thresh_frac: float 0xffe5bc not initialised - minbase: float 0xffe5c0 not initialised - maxbase: float 0xffe5c4 not initialised - minpulse: float 0xffe5c8 not initialised - maxpulse: float 0xffe5cc not initialised - inv_start_bins: float 0xffe5d0 not initialised - inv_end_bins: float 0xffe5d4 not initialised - shapebins: float 0xffe5d8 0x40000086 anal_step0 maxthresneg: float 0xffe5dc not initialised - maxthrespos: float 0xffe5e0 not initialised - base_this_fract: float 0xffe5e4 not initialised - base_avg_fract: float 0xffe5e8 not initialised - avgbaseadd: 2*int 0xffe5ec not initialised - noutbaseadd: 2*int 0xffe5f0 not initialised - hkavgbaseadd: 2*int 0xffe5f4 not initialised - hkavgnoiseadd: 2*int 0xffe5f8 not initialised - n_templates: int 0xffe5fc (C2) anal_step0 n_temp_bins: int 0xffe5fe (C3) anal_step0 n_temp_sets: int 0xffe600 0x0002 analinit time_mid: int 0xffe602 (C4) anal_step0 n_start_bins: int 0xffe604 (C5) anal_step0 n_end_bins: int 0xffe606 (C6) anal_step0 pulse_dur_min: int 0xffe608 (C7) anal_step0 pulse_dur_max: int 0xffe60a (C8) anal_step0 pulse_saturate: int 0xffe60c (C9) anal_step0 dttpmin: int 0xffe60e (C10) anal_step0 dttpmax: int 0xffe610 (C11) anal_step0 base_outlier: int 0xffe612 (C12) anal_step0 base_max_outlier: int 0xffe614 (C13) anal_step0 baseline: float 0xffe618 not initialised - integral: float 0xffe61c not initialised - integral_start: float 0xffe620 not initialised - integral_mid: float 0xffe624 not initialised - integral_end: float 0xffe628 not initialised - net_integral: float 0xffe62c not initialised - threshold: float 0xffe630 not initialised - chisqr_best: float 0xffe634 not initialised - alpha_best: float 0xffe638 not initialised - temp: float 0xffe63c not initialised - chisqr: float 0xffe640 not initialised - walpha: float 0xffe644 not initialised - lxlbase: 2*int 0xffe648 not initialised - lxxbase: 2*int 0xffe64c not initialised - libbase: 2*int 0xffe650 not initialised - denbase: 2*int 0xffe654 not initialised - parbase: 2*int 0xffe658 not initialised - attp: 2*int 0xffe65c not initialised - ttp: 2*int 0xffe660 not initialised - stackcopy: 2*int 0xffe664 not initialised - ttp1: int 0xffe668 not initialised - ttp2: int 0xffe66a not initialised - starttime: int 0xffe66c not initialised - pulsettp: int 0xffe66e not initialised - endtime: int 0xffe670 not initialised - duration: int 0xffe672 not initialised - int_threshold: int 0xffe674 not initialised - detector: int 0xffe676 not initialised - best_ttp1: int 0xffe678 not initialised - psd_energy: int 0xffe67a not initialised - Comments: ========= C1: should be 0x00 if no valid library is available for the detector (error codes 0x8000 will be sent); should be 0x01 if valid library is available. For correct delivery, 0x01 should be expected. C2: reflects the 'number of templates' parameter in configuration command 0x07 for the actual detector (the one treated in the science code). C3: reflects the 'number of time steps' parameter in configuration command 0x07 for the actual detector (the one treated in the science code). C4: reflects the 'bin index of mean time' parameter of the library parameter block for the actual detector (the one treated in the science code). C5: reflects the 'number of bins in start block' parameter of the library parameter block for the actual detector (the one treated in the science code). C6: reflects the 'number of bins in start block' parameter of the library parameter block for the actual detector (the one treated in the science code). C7: reflects the 'minimum pulse duration' parameter of the library parameter block for the actual detector (the one treated in the science code). C8: reflects the 'maximum pulse duration' parameter of the library parameter block for the actual detector (the one treated in the science code). C9: reflects the 'pulse saturation value' parameter of the library parameter block for the actual detector (the one treated in the science code). C10: reflects the 'minimum pulse duration' parameter of the library parameter block for the actual detector (the one treated in the science code). C11: reflects the 'maximum pulse duration' parameter of the library parameter block for the actual detector (the one treated in the science code). C12: reflects the 'baseline outlier value' parameter of the library parameter block for the actual detector (the one treated in the science code). C13: reflects the 'maximum number of subsequent outliers' parameter of the library parameter block for the actual detector (the one treated in the science code).