Skip to main content

SimpleBrainViewer

A simple brain viewer using matplotlib

What is this?

Pretty self-explanatory... It's a simple brain viewer written with matplotlib. Useful if you just want to view a volume quickly directly in python.

Usage

You can call the BrainViewer from python or the command line (via nifti file or any other nibabel compatible format):

import nibabel as nib
import simplebrainviewer as sbv

# load a volume
img = nib.load('/a/nifti/file')

# plot the img
sbv.plot_brain(img)

# you can also display numpy arrays
sbv.plot_brain(img.get_fdata())
Command Line Usage
usage: sbv [-h] volume

View a brain volume

positional arguments:
  volume      brain volume to view

options:
  -h, --help  show this help message and exit

Release files for simplebrainviewer 0.3.2

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

Source distribution (sdist)

Source distribution for simplebrainviewer 0.3.2
File Size Uploaded
simplebrainviewer-0.3.2.tar.gz 5.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for simplebrainviewer 0.3.2
File Interpreter ABI Platform
simplebrainviewer-0.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 12.2 kB

Release files / simplebrainviewer-0.3.2.tar.gz

Download URL simplebrainviewer-0.3.2.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7b3e1f01741920c72a4180412e2c65977e9178b13f4da416ad79f2b2d82aa357
BLAKE2b-256 checksum
How to use checksums
8e7de0d1282a870994fd4f5b843eec64b4e7e309a270952e296698c1a21d4e94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.14

Release files / simplebrainviewer-0.3.2-py3-none-any.whl

Download URL simplebrainviewer-0.3.2-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98bade9266e5e3049c214c2eabbae5f77b4d29ce3a856a46de773f3886260d10
BLAKE2b-256 checksum
How to use checksums
51b5b0480529dbc25a98308bba4af91d37fa16574100a3dd81e22ae905ec8ea9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.14

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2

2 release files

0.1

2 release files

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