Does plotting PSD topomaps with the output of 'concatenate_epochs' imply an averaging function or summation function?

Hi all,

I’m new to MNE here, and would like to clarify if my PSD topomaps and spectrum plots obtained using the output from concatenate_epochs are results of an average over all epochs or simply a summation of all epochs?
Just a sanity check because I’m starting to suspect it’s more of a summation than the averaging that I want to execute.

Some context to my doubt:
I have 10 subjects, and each subject has got 10 eeg recording data (from 10 sessions). I would like to do a subject-based analysis where I average out data from those 10 sessions for each subject, and plot the PSD spectrum and topomaps.

some snippets of my code:
"(codes with indent are part of a for loop that iterates through each subject’s folder that contains the eeg data for 10 sessions.)
epochs_rehab = mne.Epochs(raw_rehab, events_rehab, event_id=event_dict,
tmin=0.5, tmax=5, baseline=None, preload=True)
list_epochs.append(epochs_rehab)

(outside of the for loop is where the concatenation happens)
epochs_concatenated = mne.concatenate_epochs(list_epochs)
epochs_concatenated.plot_psd(picks=‘eeg’, fmin=0.5, fmax=80)
epochs_concatenated.plot_psd_topomap(ch_type=‘eeg’, normalize=False)
"

for my MNE version and OS:

  • MNE version: 0.23.4
  • operating system: Windows 10

Thank you for shedding light on this.
Cheers!