API documentation: | spikes | analysis | benchmark | parameters | stgen | utilities | facets |
NeuroTools.analysis
Data
__name__ = "NeuroTools.analysis"
Functions
play(output)
plays a spike list to the audio output
play(spike_list) where spike_list is a spike_list object
see playing_with_simple_single_neuron.py for a sample use
>>> play(my_spike_train)
TODO: make it possible to play multiple spike trains in stereo
record(output, cfilename="SpikeTrainPlay.wav", fs=44100, enc="pcm26")
record the 'sound' produced by a neuron. Takes a spike train as the output.
>>> record(my_spike_train)
Classes
TuningCurve
Class to facilitate working with tuning curves.
__getitem__(self, i)
__init__(self, D=None)
If D is a dict, it is used to give initial values to the tuning curve.
add(self, D)
stats(self)
Return the mean tuning curve with stderrs.
