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.

Attributes

birth_time

Birth time of the neutrons at the source.

eto

Event time offset of the neutrons at the component (= toa modulo pulse period).

speed

Speed of the neutrons at the component.

toa

Time of arrival of the neutrons at the component.

wavelength

Wavelength of the neutrons at the component.

distance

name

frequency

open

close

phase

open_times

close_times

data