[Mne_analysis] 4D neuroimaging data?
Karin Westin
karin.westin85 at gmail.com
Fri May 20 02:52:03 EDT 2022
External Email - Use Caution
Hi thank you for your answer.
I'd not think I have permission to share the data. However, I commented out
the error in mne.io.meas_info line 1100-1103:
#if not (isinstance(loc, np.ndarray) and loc.shape == (12,)):
# raise TypeError(
# 'Bad info: info["chs"][%d]["loc"] must be ndarray with
'
# '12 elements, got %r' % (ci, loc))
Then I could actually create an info object. Going through
info['chs'][i][loc] for all unused EEG channels I found that loc was set to
None. I manually set the location to [[0,0,1],[0,0,1],[0,0,1]] and now I
can open and read the data!
Thank you for your help,
Karin
Den tors 19 maj 2022 kl 16:37 skrev Alexandre Gramfort <
alexandre.gramfort at inria.fr>:
> External Email - Use Caution
>
> we need to make the reader robust to files where the EEG has not been
> digitized and no channel location
> is available.
>
> can you share maybe a file with me?
>
> Alex
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://secure-web.cisco.com/1Fi9ZmngQ6cD7YzbGf2XJGdLs_1BWci43P8UCgid3aFVONnGCltwLTk0jfuhtbbM2U9XqdniAL2tQy_5d0UolLB8IFaBxnZdRY_JZeNUUI5flRdXotX5ij4_Hjd6_VMsBABdxi3wI19KKzoU8al_qpI4kOxNqLTwl4vNqczFdn_FZjOonHWV3GCWjcWI7skPPFwrmwYJsLWD7OZk5jKHCA0BchVeUAih6FhqHyVfVulJH__w21L-JBE4eEn1KqZkLL-tYntvye6NnovzQw2-G45m66nY8hfZK8h-ATo2vETeUpI7htkeLpnOS8_PFikqE4GGyAZ4JPZvOlLAiF31ZTQ/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Fmne_analysis
> The information in this e-mail is intended only for the person to whom it
> is addressed. If you believe this e-mail was sent to you in error and the
> e-mail contains patient information, please contact the Mass General
> Brigham Compliance HelpLine at
> https://secure-web.cisco.com/10VSyf_AIg9_9F73vTmjqwadjZHP9qotwuKcIr4CSHzeaLm0TmWHuQO5LhRbUDGcdSxEOJoCJDRTmwv9hbvbtpv1Bb8iYUeYBIIfVFdFVer-EeASFbXbQq4IYrHMPat5Ttb61DPrtIU-xMRpzNj9VSzZEtWOsJNfID6YANAz7xzMPsccGrSSiwlNZK3yEF9RIKbPNh3nZvBbeUqm-wfat5IVvMlnMa68j6yxVvgXM8bAU-rwEEQqZsP3uijK7W2WqzsBszm3EFvPW7JFHnoP23HhGpf8TeslA1XHdPfd2JV01M1RnWF8zAiBLrlAg8SMtlghSTitlFSNRD9PSjrSJEg/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline <
> https://secure-web.cisco.com/10VSyf_AIg9_9F73vTmjqwadjZHP9qotwuKcIr4CSHzeaLm0TmWHuQO5LhRbUDGcdSxEOJoCJDRTmwv9hbvbtpv1Bb8iYUeYBIIfVFdFVer-EeASFbXbQq4IYrHMPat5Ttb61DPrtIU-xMRpzNj9VSzZEtWOsJNfID6YANAz7xzMPsccGrSSiwlNZK3yEF9RIKbPNh3nZvBbeUqm-wfat5IVvMlnMa68j6yxVvgXM8bAU-rwEEQqZsP3uijK7W2WqzsBszm3EFvPW7JFHnoP23HhGpf8TeslA1XHdPfd2JV01M1RnWF8zAiBLrlAg8SMtlghSTitlFSNRD9PSjrSJEg/https%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline> .
> Please note that this e-mail is not secure (encrypted). If you do not
> wish to continue communication over unencrypted e-mail, please notify the
> sender of this message immediately. Continuing to send or respond to
> e-mail after receiving this message means you understand and accept this
> risk and wish to continue to communicate over unencrypted e-mail.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20220520/fe4577bc/attachment.html
More information about the Mne_analysis
mailing list