mne_hfo.simulate.simulate_line_noise¶
-
mne_hfo.simulate.
simulate_line_noise
(fs=5000, freq=50, numcycles=None)[source]¶ Line noise artifact.
- Parameters
fs: int
Sampling frequency of the signal (default=5000)
freq: float
Line noise frequency (default=50)
ncycles: float
Number of cycles to create
- Returns
line_noise: numpy array
1D numpy array with line noise