scippneutron.tof.chopper_cascade#

Compute result of applying a chopper cascade to a neutron pulse at a time-of-flight neutron source.

See FrameSequence for the main entry point.

Functions

propagate_times(time, wavelength, distance)

Propagate a neutron frame by a distance.

wavelength_to_inverse_velocity(wavelength)

Classes

Chopper(distance, time_open, time_close)

Frame(distance, subframes)

A frame of neutrons, created from a single neutron pulse, potentially chopped into subframes by choppers.

FrameSequence(frames)

A sequence of frames, created from a single neutron pulse, potentially chopped into subframes by choppers.

Subframe(time, wavelength)

Neutron "subframe" at a time-of-flight neutron source, described as the corners of a polygon (initially a rectangle) in time and wavelength.