See documentation for instructions on how to install or follow the tutorial.
This pure-python3 package will allow you to create 3D meshes onto the convex hull (dura surface):
You can rotate the grid:
or change the inter-electrode distance:
You can also use the information from the pial surface (mesh) to compute the distance to the electrodes, in different ways:
This information can be used to fit the ECoG values onto the most likely area of the brain where the grid was placed.
You can compute the spatial correlation between electrodes and voxels from an fMRI:
and based on some fMRI activity, the script will find the location where it can record the highest amount of fMRI activity: