add possibility to filter only on ppicker events/code, skipping all other frames

This commit is contained in:
Dmitry Ozerov
2023-11-21 16:45:13 +01:00
parent bb8d8db234
commit 1cfa2f5549

View File

@ -164,10 +164,10 @@ def main():
if not event_darkshot: if not event_darkshot:
results['laser_on'] = event_laser results['laser_on'] = event_laser
# special settings for Cristallina JF16 detector # Filter only ppicker events, if requested; skipping all other events
# if detector in ["JF16T03V01"]: select_only_ppicker_events = results.get('select_only_ppicker_events', 0)
# if not event_ppicker: if select_only_ppicker_events and not event_ppicker:
# continue continue
# special settings for p20270, only few shots were opened by pulse-picker # special settings for p20270, only few shots were opened by pulse-picker
# if detector in ["JF06T32V02"]: # if detector in ["JF06T32V02"]: