mne_hfo.simulate.simulate_line_noise#
- mne_hfo.simulate.simulate_line_noise(fs=5000, freq=50, numcycles=None, random_state=None)[source]#
Line noise artifact.
- Parameters:
- fs
int
Sampling frequency of the signal (default=5000).
- freq
float
Line noise frequency (default=50).
- numcycles
float
Number of cycles to create.
- random_state
None
|int
| instance ofRandomState
If
random_state
is anint
, it will be used as a seed forRandomState
. IfNone
, the seed will be obtained from the operating system (seeRandomState
for details). Default isNone
.
- fs
- Returns: