ess.reduce.nexus.workflow.to_disk_choppers#

ess.reduce.nexus.workflow.to_disk_choppers(choppers)[source]#

Convert the raw choppers (DataGroup with chopper information) to the scippneutron.DiskChopper objects used for wavelength calculation. If a chopper has either empty rotation speed or phase/delay logs, it is dropped from the final chopper list.

Parameters:

choppers (RawChoppers[TypeVar(RunType)]) – Raw choppers loaded from the NeXus file, as a DataGroup.

Return type:

DiskChoppers[TypeVar(RunType)]