Skip to content

Commit

Permalink
update notebook, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
bendichter committed Jun 20, 2020
1 parent 4427589 commit 7886fd1
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 247 deletions.
66 changes: 0 additions & 66 deletions examples/Allen_Institute_neuropixel.ipynb

This file was deleted.

82 changes: 53 additions & 29 deletions examples/NWBWidgets-modality-demos.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,44 @@
"source": [
"# NWBWidgets Demos\n",
"\n",
"This notebook demonstrates now to run NWBWidgets on an NWB file. It is the same pattern for any NWB file. To run, download an example session from any of these datasets and adjust the paths to the local path on your computer.\n",
"\n",
"This notebook demonstrates now to run NWBWidgets on an NWB file. It is the same pattern for any NWB file. To run, download an example session from any of these datasets and adjust the paths to the local path on your computer."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"from pynwb import NWBHDF5IO\n",
"from nwbwidgets import nwb2widget"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Calium imaging\n",
"#### A Map of Anticipatory Activity in Mouse Motor Cortex, Chen, Svoboda Available on DANDI at [https://dandiarchive.org/dandiset/000015/draft](https://dandiarchive.org/dandiset/000015/draft).\n",
"\n",
"#### A Map of Anticipatory Activity in Mouse Motor Cortex, Chen, Svoboda Available on DANDI at [https://dandiarchive.org/dandiset/000015/draft](https://dandiarchive.org/dandiset/000015/draft)."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"fpath = '../ophys_example.nwb'\n",
"nwb = NWBHDF5IO(fpath, 'r').read()\n",
"nwb2widget(nwb)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Intracellular electrophysiology\n",
"#### Demonstrated using data from the Blue Brain Project, BBP & LNMC, EPFL. Dataset available on DANDI at [https://dandiarchive.org/dandiset/000025/draft](https://dandiarchive.org/dandiset/000025/draft).\n",
"\n",
"### Extracellular electrophysiology\n",
"#### Allen Institute Neuropixel data releasea, available on DANDI at [https://dandiarchive.org/dandiset/000021/draft](https://dandiarchive.org/dandiset/000021/draft)."
"#### Demonstrated using data from the Blue Brain Project, BBP & LNMC, EPFL. Dataset available on DANDI at [https://dandiarchive.org/dandiset/000025/draft](https://dandiarchive.org/dandiset/000025/draft)."
]
},
{
Expand All @@ -24,34 +52,30 @@
"metadata": {},
"outputs": [],
"source": [
"from pynwb import NWBHDF5IO\n",
"from nwbwidgets import nwb2widget\n",
"\n",
"\n",
"# calcium imaging\n",
"#fpath = '../ophys_example.nwb'\n",
"#nwb = NWBHDF5IO(fpath, 'r').read()\n",
"\n",
"# Blue Brain Project, BBP & LNMC, EPFL (intracellular electrophysiology)\n",
"#import ndx_icephys_meta\n",
"#fpath = '../icephys_example.nwb'\n",
"#nwb = NWBHDF5IO(fpath, 'r').read()\n",
"\n",
"# Allen Institute Neuropixel data release (dandiset )\n",
"#fpath = '../ecephys_example.nwb'\n",
"#from nwbwidgets.allen import load_allen_widgets\n",
"#load_allen_widgets()\n",
"#nwb = NWBHDF5IO(fpath, 'r', load_namespaces=True).read()"
"import ndx_icephys_meta\n",
"fpath = '../icephys_example.nwb'\n",
"nwb = NWBHDF5IO(fpath, 'r').read()\n",
"nwb2widget(nwb)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Extracellular electrophysiology\n",
"#### Allen Institute Neuropixel data releasea, available on DANDI at [https://dandiarchive.org/dandiset/000021/draft](https://dandiarchive.org/dandiset/000021/draft)."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"scrolled": false
},
"metadata": {},
"outputs": [],
"source": [
"fpath = '../ecephys_example.nwb'\n",
"from nwbwidgets.allen import load_allen_widgets\n",
"load_allen_widgets()\n",
"nwb = NWBHDF5IO(fpath, 'r', load_namespaces=True).read()\n",
"nwb2widget(nwb)"
]
}
Expand Down
151 changes: 0 additions & 151 deletions examples/allen_ecephys_session_785402239.ipynb

This file was deleted.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
setup(
author='Neurodata Without Border (NWB) developers',
author_email='[email protected]',
version='0.3.0',
version='0.3.1',
classifiers=['Operating System :: OS Independent',
'Development Status :: 3 - Alpha',
'Framework :: Jupyter',
Expand Down

0 comments on commit 7886fd1

Please sign in to comment.