Skip to content

Commit

Permalink
binder update: download all example data, update demo notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
bendichter committed Jun 19, 2020
1 parent 6aae280 commit 4427589
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 155 deletions.
5 changes: 3 additions & 2 deletions binder/postBuild
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
wget -q -O "sub-an041_ses-20140825_obj-kghsci.nwb" "https://girder.dandiarchive.org/api/v1/item/5e73acbc368d3c79a8006930/download"
wget -q -O "sub-744912845_ses-766640955.nwb" "https://girder.dandiarchive.org/api/v1/item/5eda555ce82be273d48e42ce/download"
wget -q -O "ophys_example.nwb" "https://girder.dandiarchive.org/api/v1/item/5e73acbc368d3c79a8006930/download"
wget -q -O "ecephys_example.nwb" "https://girder.dandiarchive.org/api/v1/item/5eda555ce82be273d48e42ce/download"
wget -q -O "icephys_example.nwb" "https://girder.dandiarchive.org/api/v1/item/5eed137c17a31a38dab09a67/download"
38 changes: 20 additions & 18 deletions examples/NWBWidgets-modality-demos.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,14 @@
"\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",
"* Extracellular electrophysiology\n",
"### 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",
" * Layer-Specific Physiological Features and Interlaminar Interactions in the Primary Visual Cortex of the Mouse. Yuta Senzai, Antonio Fernandez-Ruiz, Gyorgy Buzsaki. Available on DANDI [here](https://dandiarchive.org/dandiset/000003/draft).\n",
" * A NWB-based dataset and processing pipeline of human single-neuron activity during a declarative memory task. Nand Chandravadia, Ueli Rutishauser. Available on DANDI [here](https://dandiarchive.org/dandiset/000004/draft).\n",
"### 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",
"* Optical physiology\n",
" * Excitatory and inhibitory subnetworks are equally selective during decision-making and emerge simultaneously during learning, Farzaneh Najafi and Anne Churchland. Available on DANDI [here](https://dandiarchive.org/dandiset/000016/draft).\n",
"\n",
"* Intracellular electrophysiology\n",
" * Demonstrated using data from the Blue Brain Project, BBP & LNMC, EPFL. Dataset available upon request."
"### Extracellular electrophysiology\n",
"#### Allen Institute Neuropixel data releasea, available on DANDI at [https://dandiarchive.org/dandiset/000021/draft](https://dandiarchive.org/dandiset/000021/draft)."
]
},
{
Expand All @@ -29,25 +27,29 @@
"from pynwb import NWBHDF5IO\n",
"from nwbwidgets import nwb2widget\n",
"\n",
"# Buzsaki (ecephys) (dandiset 000003)\n",
"fpath = 'path/to/YutaMouse41-150831.nwb'\n",
"\n",
"# Rutishauser (ecephys) (dandiset 000004)\n",
"#fpath = 'path/to/sub-P10HM_ses-20060901.nwb'\n",
"\n",
"# Anne Churchland (planar calcium imaging) (dandiset 000016)\n",
"#fpath = 'path/to/mouse1_fni16_150817_001_ch2-PnevPanResults-170808-190057.nwb'\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",
"#fpath = 'path/to/001_140709EXP_A1_ndx_v2.nwb'\n",
"#import ndx_icephys_meta\n",
"#fpath = '../icephys_example.nwb'\n",
"#nwb = NWBHDF5IO(fpath, 'r').read()\n",
"\n",
"nwb = NWBHDF5IO(fpath,'r').read()"
"# 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()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"scrolled": false
},
"outputs": [],
"source": [
"nwb2widget(nwb)"
Expand Down
135 changes: 0 additions & 135 deletions examples/YutaMouse41.ipynb

This file was deleted.

0 comments on commit 4427589

Please sign in to comment.