pyeeg.models.TRFEstimator.apply_func

TRFEstimator.apply_func(func)

Apply a function over all values in coef_ and intercept_.

Parameters:

func (callable) – The funciton must take an array as an input and return an array of same size.

Returns:

trf – A new instance with transformed values.

Return type:

TRFEstimator