1. Getting Started¶
1.1. NWB Widgets¶
A library of widgets for visualization NWB data in a Jupyter notebook (or lab). The widgets allow you to navigate through the hierarchical structure of the NWB file and visualize specific data elements. It is designed to work out-of-the-box with NWB 2.0 files and to be easy to extend.
1.2. Installation¶
- Using Pip:
$ pip install nwbwidgets
- You can check for any missing packages by explicitly installing from the requirements file:
$ pip install -r requirements.txt
- Cloning the github repo:
$ git clone https://github.com/NeurodataWithoutBorders/nwb-jupyter-widgets.git $ cd nwb-jupyter-widgets $ python setup.py install (or develop)
1.3. Usage¶
from pynwb import NWBHDF5IO
from nwbwidgets import nwb2widget
io = NWBHDF5IO('path/to/file.nwb', mode='r')
nwb = io.read()
nwb2widget(nwb)