pyeeg.simulate.simulate_smooth_input

pyeeg.simulate.simulate_smooth_input(dur=1.0, srate=100, fmax=10, seed=12)

Simulate a smooth input signal.

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

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

  • fmax (float) – The maximum frequency of the signal.

Returns:

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

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