Separates each channel's power spectrum into an aperiodic (1/f) component
and periodic (oscillatory) peaks, following the specparam / FOOOF model
(Donoghue et al. 2020). The aperiodic exponent is a widely used index of the
excitation/inhibition balance and cortical state. Delegates the fit to
PhysioAnalysis::specparam().
Arguments
- pe
A
PhysioExperiment.- freq_range
Frequency range to fit, in Hz (default
c(1, 45)).- aperiodic_mode
"fixed"(offset + exponent) or"knee"(offset + knee + exponent), the latter for spectra with a bend in log-log space.- max_n_peaks
Maximum number of oscillatory peaks per channel (default 6).
- peak_width_limits
Min/max peak width in Hz (default
c(1, 12)).- min_peak_height
Minimum peak height above the aperiodic fit (default 0.05).
- peak_threshold
Peak detection threshold in SD of the flattened spectrum (default 2).
- assay_name
Assay to use (default: the object's default assay).
Value
An eeg_aperiodic object: a list with aperiodic (per-channel data
frame: channel, exponent, offset, optionally knee, r_squared,
error), peaks (per-channel CF/PW/BW), exponent (a named
per-channel vector, e.g. for eegPlotTopomap()), and the underlying
specparam_result.