scippneutron.tof.fakes#

A fake time-of-flight neutron beamline for documentation and testing.

This provides data in a structure as typically provided in a NeXus file, including:

  • Detector event data including event_time_offset and event_time_zero

  • Monitor event data including event_time_offset and event_time_zero

  • Chopper timestamps

Classes

FakeBeamline(source, pulse, choppers, ...[, ...])

FakePulse(time_min, time_max, ...)

Simplified model of a pulse.

FakeSource(frequency, run_length[, ...])