megicparc: MEG leadfield-based cortical parcellations¶
Welcome to the documentation of megicparc, a Python3 library for dividing the cortical surface in parcels whose activity can be faithfully represented by a single dipolar source while minimizing inter-parcel crosstalk. The method is based on unsupervised clustering of the MEG lead fields, also accounting for distances between the cortically-constrained sources to promote spatially contiguous parcels.
Installation¶
To install the latest stable version of this package use pip
:
pip install megicparc
If you do not have admin privileges on the computer, use the --user
flag
with pip
.
To check if everything worked fine, you can run:
python -c 'import megicparc'
and it should not give any error messages.
Cite our work¶
If you use this code in your project, please consider citing our work:
lead-field-based cortical parcellation. Submitted