mne_hfo.simulate.simulate_artifact_spike#

mne_hfo.simulate.simulate_artifact_spike(fs=5000, dur=None, random_state=None)[source]#

Artifact like spike (sharp, not gaussian).

Parameters:
fsint

Sampling frequency of the signal (default=5000).

durfloat

Duration of the event 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:
artifact_spikenumpy array

1D numpy array with artifact spike.