Skip to main content

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


Usage notes

Verbosity:

By default CSS scripts print out a bunch of logs that may or may not be of interest to you. If you like to disable the logs, simply add the following script:

css._verbose = False


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

Metadata

Release files for Connectome-Spatial-Smoothing 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Connectome-Spatial-Smoothing 0.1.6
File Size Uploaded Provenance Actions
Connectome_Spatial_Smoothing-0.1.6.tar.gz 370.6 kB Without provenance Details for Connectome_Spatial_Smoothing-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Connectome-Spatial-Smoothing 0.1.6
File Interpreter ABI Platform Actions
Connectome_Spatial_Smoothing-0.1.6-py3-none-any.whl Python 3 none any Details for Connectome_Spatial_Smoothing-0.1.6-py3-none-any.whl

Total release size: 738.5 kB

Release files / Connectome_Spatial_Smoothing-0.1.6.tar.gz

Download URL Connectome_Spatial_Smoothing-0.1.6.tar.gz
Size 370.6 kB
Tags Source
SHA-256 checksum
How to use checksums
63e93d8d6e39f319677534d70be5d913a65684bbea87a04f6ef6bc9ae4154e02
BLAKE2b-256 checksum
How to use checksums
ca83420d31e7e2a54c61ddb6fa38aa5698da2b1fd7afef0844db5f2aebca19dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.13

Release files / Connectome_Spatial_Smoothing-0.1.6-py3-none-any.whl

Download URL Connectome_Spatial_Smoothing-0.1.6-py3-none-any.whl
Size 367.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e16510b3d18aa155177fa4c92824d624450fbc7db60c0a69a858ba6b97eaf1b
BLAKE2b-256 checksum
How to use checksums
37c77e53772409a1787d0344442ff66981153c3652d7ed6acdfe9d9b19fcb808
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.13

Security for Connectome-Spatial-Smoothing 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page