forked from NeuralEnsemble/python-neo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request NeuralEnsemble#1179 from JuliaSprenger/new_docs_enh
Further documentation improvements
- Loading branch information
Showing
13 changed files
with
50 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
""" | ||
IgorProIO Demo | ||
=========================== | ||
""" | ||
|
||
import os | ||
from urllib.request import urlretrieve | ||
import zipfile | ||
import matplotlib.pyplot as plt | ||
from neo.io import get_io | ||
|
||
|
||
# Downloaded from Human Brain Project Collaboratory | ||
# Digital Reconstruction of Neocortical Microcircuitry (nmc-portal) | ||
# http://microcircuits.epfl.ch/#/animal/8ecde7d1-b2d2-11e4-b949-6003088da632 | ||
datafile_url = "https://microcircuits.epfl.ch/data/released_data/B95.zip" | ||
filename_zip = "B95.zip" | ||
filename = 'grouped_ephys/B95/B95_Ch0_IDRest_107.ibw' | ||
urlretrieve(datafile_url, filename_zip) | ||
|
||
zip_ref = zipfile.ZipFile(filename_zip) # create zipfile object | ||
zip_ref.extract(path='.', member=filename) # extract file to dir | ||
zip_ref.close() | ||
|
||
|
||
reader = get_io(filename) | ||
signal = reader.read_analogsignal() | ||
plt.plot(signal.times, signal) | ||
plt.xlabel(signal.sampling_period.dimensionality) | ||
plt.ylabel(signal.dimensionality) |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters