File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 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(
270270 # Bin the data into bins with a 71ms period.
271271 npulses = int ((da .bins .coords ["tof" ].max () / period ).ceil ().value )
272272 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)
276273 # Add a event_time_zero coord for each bin, but not as bin edges,
277274 # as all events in the same pulse have the same event_time_zero, hence the `[:2]`
278275 # 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 1919from ess .reduce .nexus import types as reduce_t
2020from ess .reduce .time_of_flight import types as tof_t
2121
22- # from ess.reduce.time_of_flight import TofWorkflow as _TofWorkflow
2322from ess .reduce .uncertainty import UncertaintyBroadcastMode as _UncertaintyBroadcastMode
2423
2524# 1 TypeVars used to parametrize the generic parts of the workflow
You can’t perform that action at this time.
0 commit comments