mne_hfo.utils.compute_rms#

mne_hfo.utils.compute_rms(signal, win_size=6)[source]#

Calculate the Root Mean Square (RMS) energy.

Parameters:
signalnumpy array

1D signal to be transformed.

win_sizeint

Number of the points of the window (default=6).

Returns:
rms: np.ndarray

Root mean square transformed signal.