scippneutron.tof.fakes.FakeSource#

class scippneutron.tof.fakes.FakeSource(frequency, run_length, events_per_pulse=10000)#
__init__(frequency, run_length, events_per_pulse=10000)#

Return a fake source.

Parameters:
  • frequency (Variable) – Frequency of the source.

  • run_length (Variable) – Run length of the source.

  • events_per_pulse (int, default: 10000) – Number of events per pulse.

Methods

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

Return a fake source.

Attributes

number_of_pulses

pulse_period