Iām sure Iāve been able to pick MEG sensor groups from Vectorview data (āleft-temporalā, āright-frontalā etc) before, but I cannot find it any more. Any quick tips?
Thanks,
Olaf
Iām sure Iāve been able to pick MEG sensor groups from Vectorview data (āleft-temporalā, āright-frontalā etc) before, but I cannot find it any more. Any quick tips?
Thanks,
Olaf
You mean in raw.plot()
? I believe raw.plot(group_by='selection')
should do what you want.
I was too brief. I would like to pick channels (names or indices) for MEG sensor groups (basically like labels in source space).
I donāt know of any public function to do so. Thereās a private function that should do what you want though:
@agramfort we should have a public API for thisā¦
Thanks. I think mne.selection.read_selection is what I remembered
Oh, right thatās perfect!
btw you can use it directly from the mne
namespace, i.e., mne.read_selection()
.
you also have a selection parameter in mne.pick_types
Alex
But that would serve a different purpose, unless Iām mistaken? @olafhauk wanted to select channels based on location, whereas mne.pick_types
ās selection
parameter simply restricts the picked channels to a provided list of channel names ā but doesnāt help with finding out where on the head these channels are located. Am I missing something?