mne_denoise.dss.denoisers.beta_tanh#

mne_denoise.dss.denoisers.beta_tanh(source: ndarray) float[source]#

Return the tanh fixed-point coefficient.

The coefficient is -mean(1 - tanh(source)**2).

Parameters:
sourcendarray

Source samples.