mne_hfo.simulate.simulate_hfo¶
-
mne_hfo.simulate.
simulate_hfo
(fs=5000, freq=None, numcycles=None)[source]¶ Create a simulated HFO signal.
- Parameters
fs: float
Sampling rate of the signal (default=5000)
freq: float
Frequency of the artificial HFO (default=None - random frequency between 80 nad 600 Hz)
numcycles: int
Number of HFO cycles (default=None - cycles between 9 - 15)
- Returns
wave: numpy array
1D numpy array with waveform
time: numpy array
1D numpy array with the time vector