mne_hfo.simulate.simulate_pink_noise#

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

Create a pink 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:
pink_noise_arraynumpy array

1D array of pink noise.