ess.reduce.time_of_flight.types.TimeOfFlightLookupTable#

ess.reduce.time_of_flight.types.TimeOfFlightLookupTable#

Lookup table giving time-of-flight as a function of distance and time of arrival (alias).

Methods

__init__(array, pulse_period, pulse_stride, ...)

plot(*args, **kwargs)

Plot the data array of the lookup table.

save_hdf5(filename)

Save the lookup table to an HDF5 file.

Attributes

choppers

Chopper parameters used when generating the lookup table, if any.

array

The lookup table data array that maps (distance, time_of_arrival) to time_of_flight.

pulse_period

Pulse period of the neutron source.

pulse_stride

Pulse stride used when generating the lookup table.

distance_resolution

Resolution of the distance coordinate in the lookup table.

time_resolution

Resolution of the time_of_arrival coordinate in the lookup table.