Page History
...
- ex-20-data-acqiris-access.py - access and print waveforms (times and intensities)
- ex-21-data-acqiris-graph.py - the same as ex-20 but with graphic plots
- ex-22-data-acqiris-peaks-save-h5.py - waveform processing by the (psana version of CFD) peakfinder and saving results in hdf5 file, 1000 events per 10 sec - 100Hz
- ex-22-data-acqiris-peaks-save-h5-xiangli.py - waveform processing by the (Xiang Li's version of CFD) peakfinder and saving results in hdf5 file, - 100Hz
- ex-23-quad-proc-sort-graph-from-h5.py - process peaks from hdf5 and apply RoentDec hit sorting algorithms, generate all signature-plots - 59999 events processing time = 104.848 sec or 0.001747 sec/event or 572.246 Hz
- ex-24-quad-proc-sort-graph.py - process peaks from xtc2 data and apply RoentDec hit sorting algorithms
- ex-25-quad-proc-data.py - similar to ex-24, demo how to get proc.xyrt_list
- ex-26-calibconsts.py - demo of access to calibration constants from DB
- ex-27-calib-pop-rbfs-xiang.py - demo of access to "rbfs" calibration constants from DB
Status on 2023-10-10
Due to transition of software from psdm to s3df all ex-2*-* examples were updated
modified: ex-20-data-acqiris-access.py
modified: ex-21-data-acqiris-graph.py
modified: ex-22-data-acqiris-peaks-save-h5-xiangli.py
modified: ex-22-data-acqiris-peaks-save-h5.py
modified: ex-23-quad-proc-sort-graph-from-h5.py
modified: ex-24-quad-proc-sort-graph.py
modified: ex-25-quad-proc-data.py
modified: ex-26-calibconsts.py
modified: ex-27-calib-pop-rbfs-xiang.py
new file: ex_test_data.py
File ex_test_data.py is added to define DIR_DATA_TEST depending on environment variable DIR_PSDM:
DIR_ROOT = os.getenv('DIR_PSDM') # /cds/group/psdm ON psana OR /sdf/group/lcls/ds/ana/ ON s3df
DIR_DATA_TEST = os.path.join(DIR_ROOT, 'detector/data2_test/xtc')
Then access to *.xtc2 files is
FNAME = '%s/%s' % (DIR_DATA_TEST, 'data-amox27716-r0100-acqiris-e000100.xtc2')
Also changed access to the files in the package:
DIR_ABSPATH = os.path.abspath(os.path.dirname(__file__)) # absolute path to .../psana/hexanode/examples
+ 'calibcfg' : '%s/configuration_quad.txt' % DIR_ABSPATH,
+ 'calibtab' : '%s/calibration_table_data.txt' % DIR_ABSPATH,
All test examples are working.
References
Hexanode detector test on data
...