tof.ChopperReading#
- class tof.ChopperReading(distance, name, frequency, open, close, phase, open_times, close_times, data)[source]#
Read-only container for the neutrons that reach the chopper.
- __init__(distance, name, frequency, open, close, phase, open_times, close_times, data)#
Methods
__init__(distance, name, frequency, open, ...)plot([bins])Plot both the toa and wavelength data side by side.
plot_on_time_distance_diagram(ax, tmax)Attributes
birth_timeBirth time of the neutrons at the source.
etoEvent time offset of the neutrons at the component (= toa modulo pulse period).
kindspeedSpeed of the neutrons at the component.
toaTime of arrival of the neutrons at the component.
wavelengthWavelength of the neutrons at the component.
distancenamefrequencyopenclosephaseopen_timesclose_timesdata