ess.reduce.unwrap.lut.get_active_choppers#

ess.reduce.unwrap.lut.get_active_choppers(choppers)[source]#

Return a dict of choppers that are active (i.e., have a non-zero frequency). We assume that choppers with zero frequency are parked and do not affect the neutron beam.

Parameters:

choppers (DiskChoppers[TypeVar(RunType)]) – A dict of DiskChopper objects representing the choppers in the beamline.

Return type:

ActiveDiskChoppers[TypeVar(RunType)]