mne_hfo.utils.compute_rms

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

Calculate the Root Mean Square (RMS) energy.

Parameters

signal: numpy array

1D signal to be transformed

win_size: int

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

Returns

rms: numpy array

Root mean square transformed signal

Examples using mne_hfo.utils.compute_rms