- MNE version: 0.24.0
- operating system: Windows 10
Hi,
I’m looking to get sub-epoch time data and was wondering where the right place was to do this in the preprocessing / epoching step.
For example, if I want to calculate the Alpha power every 30s for 2-mins following an event, does that mean I need to change my tmax in the epoching step to 120 (secs)? Then run my band power script on this file?
Thank you in advance
Cheers,
Thapa
# Epoching settings
raw_filt = mne.io.read_raw_fif(f"../1_EEG/Python_Outputs/MNE_ICA/p{i}_raw_filt.fif")
tmin = -.200 # start of each epoch (in sec)
tmax = 480 # end of each epoch (in sec)
baseline = (None, 0)
# Create epochs
epochs = mne.Epochs(raw_filt,
events,
event_mapping,
tmin,
tmax,
baseline=baseline,
preload=True)