mne_hfo.simulate.simulate_hfo#

mne_hfo.simulate.simulate_hfo(fs=5000, freq=None, numcycles=None, random_state=None)[source]#

Create a simulated HFO signal.

Parameters:
fsfloat

Sampling rate of the signal (default=5000).

freqfloat

Frequency of the artificial HFO (default=None - random frequency between 80 nad 600 Hz).

numcyclesint

Number of HFO cycles (default=None - cycles between 9 - 15).

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:
wavenumpy array

1D numpy array with waveform.

timenumpy array

1D numpy array with the time vector.

Examples using mne_hfo.simulate.simulate_hfo#

01. Detect HFOs in Simulated Dataset

01. Detect HFOs in Simulated Dataset