Skip to content

Commit 8b33362

Browse files
committed
fix
1 parent fec925c commit 8b33362

File tree

1 file changed

+1
-1
lines changed
  • src/ess/reduce/time_of_flight

1 file changed

+1
-1
lines changed

src/ess/reduce/time_of_flight/lut.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ def simulate_chopper_cascade_using_tof(
420420
else tof.Clockwise,
421421
open=ch.slit_begin,
422422
close=ch.slit_end,
423-
phase=abs(ch.phase),
423+
phase=ch.phase if ch.frequency.value > 0.0 else -ch.phase,
424424
distance=sc.norm(
425425
ch.axle_position - source_position.to(unit=ch.axle_position.unit)
426426
),

0 commit comments

Comments
 (0)