File tree 2 files changed +0
-4
lines changed
2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -270,9 +270,6 @@ def assemble_detector_data(
270
270
# Bin the data into bins with a 71ms period.
271
271
npulses = int ((da .bins .coords ["tof" ].max () / period ).ceil ().value )
272
272
da = da .bin (tof = sc .arange ("tof" , npulses + 1 ) * period )
273
- # npulses = int((da.bins.coords["tof"].max() / period).value) + 1
274
- # print('npulses', npulses)
275
- # da = da.bin(tof=sc.arange("tof", npulses) * period)
276
273
# Add a event_time_zero coord for each bin, but not as bin edges,
277
274
# as all events in the same pulse have the same event_time_zero, hence the `[:2]`
278
275
# We need to pick a start time. The actual value does not matter. We chose the
Original file line number Diff line number Diff line change 19
19
from ess .reduce .nexus import types as reduce_t
20
20
from ess .reduce .time_of_flight import types as tof_t
21
21
22
- # from ess.reduce.time_of_flight import TofWorkflow as _TofWorkflow
23
22
from ess .reduce .uncertainty import UncertaintyBroadcastMode as _UncertaintyBroadcastMode
24
23
25
24
# 1 TypeVars used to parametrize the generic parts of the workflow
You can’t perform that action at this time.
0 commit comments