pyeeg.simulate.simulate_pulse_inputs

pyeeg.simulate.simulate_pulse_inputs(n_events=100, dur=30.0, srate=100, seed=12)

Simulate a pulse input signal.

Parameters:
  • n_events (int) – Number of events to simulate.

  • dur (float) – The duration of the signal in seconds.

  • srate (int) – The sampling rate of the signal.

Returns:

  • t (array_like) – The time vector. Shape (n,).

  • x (array_like) – The simulated signal. Shape (n,).