manual:python_binary_toolkit
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
manual:python_binary_toolkit [2016/08/10 19:24] – [Example: Get membrane potential from BinaryStateMonitor file] zenke | manual:python_binary_toolkit [2016/08/30 18:19] – [Auryn Python binary tools] zenke | ||
---|---|---|---|
Line 3: | Line 3: | ||
Auryn v0.8.0 is the first version to come with a set of Python tools which allow decoding from binary files generated with [[BinarySpikeMonitor]] or [[BinaryStateMonitor]]. You can find the Python code in the '' | Auryn v0.8.0 is the first version to come with a set of Python tools which allow decoding from binary files generated with [[BinarySpikeMonitor]] or [[BinaryStateMonitor]]. You can find the Python code in the '' | ||
+ | To use the Auryn tools point your Python path to the '' | ||
+ | < | ||
+ | export PYTHONPATH=$PYTHONPATH:< | ||
+ | </ | ||
===== Example: Plot spikes from spk file ===== | ===== Example: Plot spikes from spk file ===== | ||
Line 12: | Line 16: | ||
import numpy as np | import numpy as np | ||
import pylab as pl | import pylab as pl | ||
- | from auryn_binary_tools | + | from auryntools |
filename | filename | ||
Line 38: | Line 42: | ||
import numpy as np | import numpy as np | ||
import pylab as pl | import pylab as pl | ||
- | from auryn_binary_tools | + | from auryntools |
num_mpi_ranks = 4 | num_mpi_ranks = 4 | ||
Line 67: | Line 71: | ||
import numpy as np | import numpy as np | ||
import pylab as pl | import pylab as pl | ||
- | from auryn_binary_tools | + | from auryntools |
datadir = "/ | datadir = "/ | ||
Line 108: | Line 112: | ||
import numpy as np | import numpy as np | ||
import pylab as pl | import pylab as pl | ||
- | from auryn_binary_tools | + | from auryntools |
# This code snipped assumes that you have run the example simulation | # This code snipped assumes that you have run the example simulation |
manual/python_binary_toolkit.txt · Last modified: 2016/08/30 18:21 by zenke