tof.DetectorReading#
- class tof.DetectorReading(distance, name, data)[source]#
Read-only container for the neutrons that reach the detector.
- __init__(distance, name, data)#
Methods
__init__(distance, name, data)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.
distancenamedata