eegprep.newtimefbaseln#
- eegprep.newtimefbaseln(power, timesout, *, baseline=0, powbase=None, basenorm='off', commonbase='off', singletrials='on', trialbase='off')#
Apply EEGLAB average baseline correction to absolute power.
- Parameters:
power (Any) – Power array, usually
freqs x times x trials.timesout (Any) – Time values in milliseconds.
baseline (Any) – Scalar threshold,
[min, max]interval, or NaN to disable.powbase (Any) – Optional externally supplied baseline spectrum.
basenorm (str) –
"on"for z-like baseline normalization.commonbase (str) – Average baseline spectra across a list of power arrays.
singletrials (str) – Whether trials remain present on the last axis.
trialbase (str) – Trial baseline mode from
newtimef.
- Returns:
(corrected_power, baseline_indices, baseline_values).- Return type: