How to select particular set of channels?

I am working on a data set from Electromag Triux. I want to plot PSD from occipital region, but selections are not available in the data set. How to select channels from areas of interest?

You can use mne.read_selection(), as pointed out in this posting:

So what you’d do is something like:

picks = mne.read_selection('occipital', info=raw.info)
raw_occipital = raw.copy().pick(picks)
raw_occipital.plot_psd()
1 Like

I was using it wrong I think.

picks = mne.pick_channels_regexp(raw.ch_names, 'MEG1..2')
print(picks)
picks = mne.pick_channels(raw.ch_names, mne.read_selection('occipital'))
print(picks)

output was

[102, 105, 108, 111, 114, 117, 120, 123, 125, 128, 131, 134, 137, 140, 143, 146, 149, 152, 154, 157, 160, 163, 166, 169, 172, 175, 178, 181, 184, 187, 190, 193, 196, 199, 202, 205, 208, 211, 214, 217]
[]