mne_hfo.simulate.simulate_brown_noise#

mne_hfo.simulate.simulate_brown_noise(N, random_state=None)[source]#

Create a brown noise (1/f²) with N points.

Parameters:
Nint

Number of samples to be returned.

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

1D array of brown noise.