The system used to acquire the MEG data Iām working with had 275 MEG axial gradiometers, however, in the info data structure this is indicated as channel type āmagā. Is there a way to change all channel types from āmagā to āgradā, preferably within the evoked data file?
I am working with:
Raw, Epochs or Evoked all have a set_channel_types method.
e.g. mne.Evoked ā MNE 1.0.0 documentation
It can be used by providing a mapping with the key being the channel names the value the new channel type.
Hi Mathieu!
Thanks for responding to me.
However, the documentation of the set_channel_types method doesnāt say it supports the channel types āgradā and āmagā, so I am not sure what to do thereā¦
Kind regards,
Janne
@Janne - By the number of channels and having axial gradiometers - it appears that you have a CTF system. The axial gradiometers are treated a magnetometers in the MNE software. I am assuming this is because they have a more similar signal profile to mag than the planar gradiometers in Elekta/Megin. You do not need to convert these to grad - just use them as āmagsā in MNE. Below is from the CTF system at NIMH (271 out of 275 good channels) - it shows the gradiometers as āmagsā. I think that there is another post in the MNE forums about this.
@agramfort Do you think we should issue an informative log message when this happens during reading CTF data? As we see here, itās confusing, albeit being documented (?) behavior.
Thank you for responding. It is indeed a CTF system.
Eventually, I changed the channel type to āgradā because I had trouble when computing the adjacency matrix for cluster analysis. I got an error when the channel type was āmagā, so I changed the channels to āgradā, and then it worked.
Otherwise, just using them as āmagā in MNE should work fine too.