Skip to main content

A simple brain viewer using matplotlib

Project description


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 in python.

Will add 4D volume viewing and voxel selection soon...


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

import nibabel as nib
from simplebrainviewer import *
import matplotlib.pyplot as plt

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

# plot the data

Command Line Usage
usage: [-h] volume

View a brain volume (Only does 3D, no 4D yet!)

positional arguments:
  volume      brain volume to view

optional arguments:
  -h, --help  show this help message and exit

Project details

Release history Release notifications | RSS feed

This version


Download files

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

Files for simplebrainviewer, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size simplebrainviewer-0.1-py3-none-any.whl (4.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size simplebrainviewer-0.1.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page