Skip to content

Commit 85597b8

Browse files
committed
Merge branch 'tof-workflow' of github.com:scipp/essdiffraction into tof-workflow
2 parents f2e9894 + b134104 commit 85597b8

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/ess/dream/io/geant4.py

-3
Original file line numberDiff line numberDiff 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

src/ess/powder/types.py

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
from ess.reduce.nexus import types as reduce_t
2020
from ess.reduce.time_of_flight import types as tof_t
2121

22-
# from ess.reduce.time_of_flight import TofWorkflow as _TofWorkflow
2322
from ess.reduce.uncertainty import UncertaintyBroadcastMode as _UncertaintyBroadcastMode
2423

2524
# 1 TypeVars used to parametrize the generic parts of the workflow

0 commit comments

Comments
 (0)