ess.reduce.unwrap.lut.guess_pulse_stride_from_choppers#
- ess.reduce.unwrap.lut.guess_pulse_stride_from_choppers(choppers, pulse_period)[source]#
If the pulse stride is not provided, we try to guess it from the chopper parameters. If there is a chopper rotating slower than the pulse_period, we use its rotation frequency to estimate the pulse stride.
Only choppers whose rotation period is a whole number of pulse periods are used. A chopper at any other frequency (e.g., 5 Hz with a 14 Hz source) is most likely misconfigured and will be closed by
close_non_synced_disk_choppers(). Letting it set the stride would make healthy choppers incompatible with the frame period, and close them as well.- Return type:
PulseStride[TypeVar(RunType)]