A simple brain viewer using matplotlib
Project description
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 in python.
Usage
You can call BrainViewer from python or the command line (via nifti file or any other nibabel compatible format):
"""
Example
"""
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
simplebrainviewer.plot_brain(data)
Command Line Usage
usage: brainviewer.py [-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
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.2.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for simplebrainviewer-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40d032ee06225d0afc005e2706d4a452ec98dbad408ef6b9cb84391506dee0be |
|
MD5 | aec986c0524717e7624ed2b2c2554414 |
|
BLAKE2b-256 | b9a1e15a1c12194c6c346b6dee0989dd47c712a412cc1acb3f125f3448314443 |