mne_hfo.simulate.simulate_delta#

mne_hfo.simulate.simulate_delta(fs=5000, decay_dur=None, random_state=None)[source]#

Delta function with exponential decay.

Parameters:
fsint

Sampling frequency of the signal (default=5000).

decay_durfloat

Decay duration before returning to 0 in seconds.

random_stateNone | int | instance of RandomState

If random_state is an int, it will be used as a seed for RandomState. If None, the seed will be obtained from the operating system (see RandomState for details). Default is None.

Returns:
deltanumpy array

1D numpy array with delta function.