Skip to content

Python codes and sample scripts for connectome-based smoothing (CBS)

License

Notifications You must be signed in to change notification settings

jaysonjeg/connectome-spatial-smoothing

 
 

Repository files navigation

Connectome Spatial Smoothing

Here, you may find the Python codes and sample scripts for Connectome Spatial Smoothing (CSS).

For more information you may check our article on Connectome Spatial Smoothing (CSS): concepts, methods and evaluation. All resources are provided as complementary to the following article:

DOI:10.1016/j.neuroimage.2022.118930

Mansour, L. Sina, et al. "Connectome Spatial Smoothing (CSS): concepts, methods, and evaluation." NeuroImage (2022): 118930.

The code used for this study is now released as a python package. If using the codes, please also cite the following:

DOI


The codes in this repository mainly perform the following tasks:

  • Map high-resolution structural connectomes from tractography

  • Map atlas-resolution structural connectomes from tractography

  • Compute the CSS smoothing kernel with selected parameters

  • Perform CSS on high-resolution connectomes

  • Perform CSS directly on atlas connectomes


Installation

To use CSS functionality in your code, you can install the package with the following command:

pip install Connectome-Spatial-Smoothing

Then, you could simply use the package in your own code after importing:

from Connectome_Spatial_Smoothing import CSS as css


We have provided a short jupyter notebook showcasing all the functionalities described above. You may use the following link to open this notebook in an interactive google colab session:

Open In Colab

Note: there has been a new release with added functionality that is explained in the following interactive notebook:

Open In Colab

About

Python codes and sample scripts for connectome-based smoothing (CBS)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 56.6%
  • Python 43.4%