averef#
- averef(data, weights=None, sphere=None, *, return_parameters=False)#
Average-reference channel-major data and optionally transform ICA weights.
Set
return_parameters=Trueto also receive transformed weights, sphere, and the removed channel mean. This explicit switch replaces MATLAB’s output-count-dependent return behavior.