ess.bifrost.live.cut#

ess.bifrost.live.cut(data, *, axis_1, axis_2)[source]#

Cut data along two axes.

This function projects the input data expressed in \(Q\) and \(\Delta E\) onto a 2D surface defined by the cut axes. This integrates over the other dimensions. Then, the projected data is histogrammed according to the axis bins.

Parameters:
Returns:

CutData[TypeVar(RunType, ess.reduce.nexus.types.SampleRun (int), ess.reduce.nexus.types.VanadiumRun (int))]data projected and histogrammed along the cut axes.