...
Notes and observations from the beamtime and subsequent data analysis:
Folder structure:
cd /sdf/data/lcls/ds/mfx/mfxx1005021/results
(ana-4.0.48-py3) ls
lowFlux philiph scan scripts
The idea is to put scripts under scripts and scan or lowFlux ntuples/.npy files etc under scan or lowFlux. This is how I had things set up on the old psana.
Instructions to run the DAQ scripts and analysis:
Attenuator scans:
DAQ scans:
Leland has written a new attenuator scan script for us. To use this, go on mfx-daq and:
- Start mfx hutch python by typing "mfx3"
- import numpy as np
- scan_list = [1,0.66,0.33,0.1,0.05] (i.e 100%, 66%, 33%, 10%, 5%)
- x.attenuator_scan(events=240,record=True,config=False,transmissions=scan_list)
The DAQ needs to be in the configured state before running this script.
Analysis script:
??????
Timing scans:
DAQ scan:
Run the following:
~ddamiani/Workarea/daq/daq-dev/tools/scanning/epix10ka_scan_exponential -L yes -e 100 --start 1000 -f 2000 -n 9 -P AcqToAsicR0Delay -p 0 -D MfxEndstation -t 2
use -h to get variable description.
-e events
--start starting scan position
-f finishing position
-n number of steps in the intervall
-P scanning variable to change
Analysis scripts:
You can find it here: /sdf/data/lcls/ds/mfx/mfxx1005021/results/scripts
You can call it with: >python -i TimeScan.py -d Epix10ka -r 472
Dropped shot visualization:
One can run e.g. python persistenceCheck.py -r 272 -d Epix10ka2M --maxNevents 450000 with the usual base class to analyze persistence. The script stores the mean and flux of kicked events and the immediately preceding events and also makes a dumb plot.
Check the detector configurations.:
(ana-4.0.48-py3) /sdf/group/lcls/ds/daq/current/build/pdsapp/bin/x86_64-rhel7-opt/configdb_readxtc -e ./xtc/