ess.reduce.time_of_flight.types.ErrorLimitedTofLookupTable#
- class ess.reduce.time_of_flight.types.ErrorLimitedTofLookupTable(array, pulse_period, pulse_stride, distance_resolution, time_resolution, choppers=None)[source]#
Lookup table that is masked with NaNs in regions where the standard deviation of the time-of-flight is above a certain threshold.
- __init__(array, pulse_period, pulse_stride, distance_resolution, time_resolution, choppers=None)#
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
choppersChopper parameters used when generating the lookup table, if any.
arrayThe lookup table data array that maps (distance, time_of_arrival) to time_of_flight.
pulse_periodPulse period of the neutron source.
pulse_stridePulse stride used when generating the lookup table.
distance_resolutionResolution of the distance coordinate in the lookup table.
time_resolutionResolution of the time_of_arrival coordinate in the lookup table.