@@ -130,43 +130,3 @@ class DetectorTofData(sl.Scope[RunType, sc.DataArray], sc.DataArray):
130130
131131class MonitorTofData (sl .Scope [RunType , MonitorType , sc .DataArray ], sc .DataArray ):
132132 """Monitor data with time-of-flight coordinate."""
133-
134-
135- class ResampledDetectorTofData (sl .Scope [RunType , sc .DataArray ], sc .DataArray ):
136- """
137- Histogrammed detector data with time-of-flight coordinate, that has been resampled.
138-
139- Histogrammed data that has been converted to `tof` will typically have
140- unsorted bin edges (due to either wrapping of `time_of_flight` or wavelength
141- overlap between subframes).
142- We thus resample the data to ensure that the bin edges are sorted.
143- It makes use of the ``to_events`` helper which generates a number of events in each
144- bin with a uniform distribution. The new events are then histogrammed using a set of
145- sorted bin edges to yield a new histogram with sorted bin edges.
146-
147- WARNING:
148- This function is highly experimental, has limitations and should be used with
149- caution. It is a workaround to the issue that rebinning data with unsorted bin
150- edges is not supported in scipp.
151- """
152-
153-
154- class ResampledMonitorTofData (
155- sl .Scope [RunType , MonitorType , sc .DataArray ], sc .DataArray
156- ):
157- """
158- Histogrammed monitor data with time-of-flight coordinate, that has been resampled.
159-
160- Histogrammed data that has been converted to `tof` will typically have
161- unsorted bin edges (due to either wrapping of `time_of_flight` or wavelength
162- overlap between subframes).
163- We thus resample the data to ensure that the bin edges are sorted.
164- It makes use of the ``to_events`` helper which generates a number of events in each
165- bin with a uniform distribution. The new events are then histogrammed using a set of
166- sorted bin edges to yield a new histogram with sorted bin edges.
167-
168- WARNING:
169- This function is highly experimental, has limitations and should be used with
170- caution. It is a workaround to the issue that rebinning data with unsorted bin
171- edges is not supported in scipp.
172- """
0 commit comments