Skip to main content

brainsurfy

Project description

brainsurfy

Simple surface plots in Python based on ggseg parcellations.

import matplotlib.pyplot as plt

from brainsurfy import fetch_atlas_data, simulate_data, plot_surf

atlas_data = fetch_atlas_data('schaefer7_400')
sim_data = simulate_data(atlas_data)

plot_surf(atlas_data, sim_data, cmap=plt.cm.viridis, cbar=True)

Output:

image

Installation

brainsurfy is meant to be used with Python 3.9 or above, and has been tested on Python 3.9-3.12.

Dependencies

User installation

To install brainsurfy, run this command in your terminal:

pip install brainsurfy

This is the preferred method to install brainsurfy, as it will always install the most recent stable release.

If you don’t have pip installed, this Python installation guide can guide you through the process.

to-do:

  • a lot of things...
  • look into 3d surface plots
  • docs (once there is more stuff)
  • form into package and upload to pypi

======= History

0.0.1 (2024-03-15)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

brainsurfy-0.0.1.tar.gz (263.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

brainsurfy-0.0.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file brainsurfy-0.0.1.tar.gz.

File metadata

  • Download URL: brainsurfy-0.0.1.tar.gz
  • Upload date:
  • Size: 263.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for brainsurfy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 398c0c4a2bc94f0af36354c102df125dc2cb73c72dba13782037eec1f7ceca70
MD5 22f6df22d5e1de71914fd5b359330294
BLAKE2b-256 9b28187bca189f008297da31682f6c04e5c41dbe5d485fc4abfbd941007555f4

See more details on using hashes here.

File details

Details for the file brainsurfy-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: brainsurfy-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for brainsurfy-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 78382584b1af348a31c95b5e17ec0d1439d28a00636deebab684170918fb4665
MD5 fd57b4e6f126ab2b235e516112c6366a
BLAKE2b-256 0943ec557d25d8a0af60b12bbd572f29af7a77f43828d57e4bc73125a2faeaa9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page