Metadata-Version: 2.1
Name: simplebrainviewer
Version: 0.3.2
Summary: A simple brain viewer using matplotlib
Author-email: Andrew Van <vanandrew@wustl.edu>
License: MIT License
Project-URL: github, https://github.com/vanandrew/Simplebrainviewer
Keywords: neuroscience,neuroimaging
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: C++
Classifier: Topic :: Scientific/Engineering :: Image Processing
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Provides-Extra: dev
License-File: LICENSE

# 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):

```python
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
```

