Improve fit
Compare changes
Some changes are not shown
For a faster browsing experience, some files are collapsed by default.
Files
4+ 173
− 18
@@ -8,8 +8,8 @@ import os
@@ -8,8 +8,8 @@ import os
@@ -19,6 +19,7 @@ matplotlib.use('Agg')
@@ -19,6 +19,7 @@ matplotlib.use('Agg')
@@ -82,8 +83,8 @@ def plot_result(filename: str,
@@ -82,8 +83,8 @@ def plot_result(filename: str,
@@ -134,11 +135,15 @@ def main():
@@ -134,11 +135,15 @@ def main():
parser.add_argument('-P', '--pes', type=str, metavar='NAME', default="SA3_XTD10_PES/ADC/1:network", help='PES name')
parser.add_argument('-X', '--xgm', type=str, metavar='NAME', default="SA3_XTD10_XGM/XGM/DOOCS:output", help='XGM name')
@@ -155,16 +160,16 @@ def main():
@@ -155,16 +160,16 @@ def main():
# this could have been done by a select call in the RunDirectory, but it would not correct for the spec_offset
spec_raw_pe = run[spec_name, "data.photonEnergy"].select_trains(by_id[tids - spec_offset]).ndarray()
@@ -185,27 +190,36 @@ def main():
@@ -185,27 +190,36 @@ def main():
pes_raw_t = {ch: run[pes_name, f"digitizers.{ch}.raw.samples"].select_trains(by_id[test_tids]).ndarray()
#xgm_pressure = run['SA3_XTD10_XGM/XGM/DOOCS', "pressure.pressureFiltered.value"].select_trains(by_id[tids]).ndarray()
#xgm_pe = run['SA3_XTD10_XGM/XGM/DOOCS:output', "data.intensitySa3TD"].select_trains(by_id[tids]).ndarray()
#retvol_raw_timestamp = run["SA3_XTD10_PES/MDL/DAQ_MPOD", "u212.timestamp"].select_trains(by_id[tids]).ndarray()
@@ -227,10 +241,10 @@ def main():
@@ -227,10 +241,10 @@ def main():
@@ -251,9 +265,150 @@ def main():
@@ -251,9 +265,150 @@ def main():
@@ -265,9 +420,9 @@ def main():
@@ -265,9 +420,9 @@ def main():