ess.reduce.time_of_flight.lut.SimulationResults#
- class ess.reduce.time_of_flight.lut.SimulationResults(readings, choppers=None)[source]#
Results of a time-of-flight simulation used to create a lookup table. It should contain readings at various positions along the beamline, e.g., at the source and after each chopper. It also contains the chopper parameters used in the simulation, so it can be determined if this simulation is compatible with a given experiment.
- Parameters:
readings (
dict[str,BeamlineComponentReading]) – A dict ofBeamlineComponentReadingobjects representing the readings at various positions along the beamline. The keys in the dict should correspond to the names of the components (e.g., ‘source’, ‘chopper1’, etc.).choppers (
Optional[DiskChoppers[nexus.types.AnyRun(int)]], default:None) – The chopper parameters used in the simulation (if any). These are used to verify that the simulation is compatible with a given experiment (comparing chopper openings, frequencies, phases, etc.).
- __init__(readings, choppers=None)#
Methods
__init__(readings[, choppers])Attributes
choppersreadings