Skip to main content

show a nifti image in a webgl 2.0 canvas within a jupyter notebook cell

Project description

demo

ipyNiiVue

ipyNiiVue is a Python / Niivue bridge for Jupyter Widgets. A Python API is used to interact with NiiVue.

Try it online

You can try ipyniivue online at , JupyterLite, or Binder.

Getting started

Installation

pip install ipyniivue

Development

conda create -n ipyniivue-dev -c conda-forge nodejs yarn python jupyterlab=3.6.3
conda activate ipyniivue-dev
git clone https://github.com/niivue/ipyniivue.git
cd ipyniivue
yarn install
jupyter labextension develop --overwrite .
yarn run watch

Then, in another terminal/cmd window:

cd ipyniivue
conda activate ipyniivue-dev
jupyter lab

To view changes made in the typescript, reload the jupyter page. To view changes made in the python, restart the kernel.

Usage

documentation

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

ipyniivue-1.1.0.tar.gz (8.9 MB view hashes)

Uploaded Source

Built Distribution

ipyniivue-1.1.0-py3-none-any.whl (5.3 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page