How does MNE determine channel types?

Hey everyone! Hope you’re having a good day. This should be an easy one.

How does mne determine channel types? When I read in an edf, it seems able to correctly infer channel types without me telling it which channels are eeg channels. How does it do so? When might I need to explicitly declare channel types?

MNE tries to infer channel types from the raw file format that you provide. For EDF, you can read some more about it in the documentation strings in the source code, see for example:

In brief: For EDF, MNE tries to infer types based on the channel names found in the raw data file.

1 Like