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:
- fs
int Sampling frequency of the signal (default=5000).
- dur
float Duration of the event in seconds.
- random_state
None|int| instance ofRandomState If
random_stateis anint, it will be used as a seed forRandomState. IfNone, the seed will be obtained from the operating system (seeRandomStatefor details). Default isNone.
- fs
- Returns: