File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22Package to handle data redction at AMOR instrument to be used by __main__.py script.
33"""
44
5- __version__ = '3.0.3 '
6- __date__ = '2025-10-28 '
5+ __version__ = '3.0.4 '
6+ __date__ = '2025-11-04 '
Original file line number Diff line number Diff line change @@ -58,6 +58,9 @@ def prepare_actions(self):
5858 if self .config .reduction .plot == E2HPlotSelection .Raw :
5959 # Raw implies fast caculations
6060 self .config .reduction .fast = True
61+ if not self .config .experiment .is_default ('lambdaRange' ):
62+ # filtering wavelength requires frame analysis
63+ self .config .reduction .fast = False
6164
6265 if not self .config .reduction .fast or self .config .reduction .plot in NEEDS_LAMDA :
6366 from . import event_analysis as ea
@@ -84,7 +87,7 @@ def prepare_actions(self):
8487 # perform corrections for tof if not fast mode
8588 self .event_actions |= eh .TofTimeCorrection (self .config .experiment .incidentAngle == IncidentAngle .alphaF )
8689 # select needed actions in depenence of plots
87- if self .config .reduction .plot in NEEDS_LAMDA :
90+ if self .config .reduction .plot in NEEDS_LAMDA or not self . config . experiment . is_default ( 'lambdaRange' ) :
8891 self .event_actions |= ea .MergeFrames ()
8992 self .event_actions |= ea .AnalyzePixelIDs (self .config .experiment .yRange )
9093 self .event_actions |= eh .TofTimeCorrection (self .config .experiment .incidentAngle == IncidentAngle .alphaF )
You can’t perform that action at this time.
0 commit comments