Commit dac7db72 authored by David Sussillo's avatar David Sussillo
Browse files

Made PCA bias work for input alignment. Fixed output matrix to pinv, added...

Made PCA bias work for input alignment. Fixed output matrix to pinv, added gaussian example, fixed output gaussian param inits, updated README
parent 0826ef88
......@@ -132,7 +132,7 @@ def spikify_data(data_e, rng, dt=1.0, max_firing_rate=100):
dt: how often the data are sampled
max_firing_rate: the firing rate that is associated with a value of 1.0
Returns:
spikified_data_e: a list of length b of the data represented as spikes,
spikified_e: a list of length b of the data represented as spikes,
sampled from the underlying poisson process.
"""
......@@ -160,8 +160,7 @@ def gaussify_data(data_e, rng, dt=1.0, max_firing_rate=100):
dt: how often the data are sampled
max_firing_rate: the firing rate that is associated with a value of 1.0
Returns:
spikified_data_e: a list of length b of the data represented as spikes,
sampled from the underlying poisson process.
gauss_e: a list of length b of the data with noise.
"""
E = len(data_e)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment