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

Download files

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

Source Distribution

simplebrainviewer-0.3.2.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

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

simplebrainviewer-0.3.2-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file simplebrainviewer-0.3.2.tar.gz.

File metadata

  • Download URL: simplebrainviewer-0.3.2.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for simplebrainviewer-0.3.2.tar.gz
Algorithm Hash digest
SHA256 7b3e1f01741920c72a4180412e2c65977e9178b13f4da416ad79f2b2d82aa357
MD5 e7f47e10629b2426c7a73ad090218be9
BLAKE2b-256 8e7de0d1282a870994fd4f5b843eec64b4e7e309a270952e296698c1a21d4e94

See more details on using hashes here.

File details

Details for the file simplebrainviewer-0.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for simplebrainviewer-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 98bade9266e5e3049c214c2eabbae5f77b4d29ce3a856a46de773f3886260d10
MD5 5c9057090db88757b7a588df0e35045a
BLAKE2b-256 51b5b0480529dbc25a98308bba4af91d37fa16574100a3dd81e22ae905ec8ea9

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 files

0.3.1

2 files

0.3.0

2 files

0.2

2 files

0.1

2 files

Supported by

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