-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BinnedSpiketrain should accept a 0-1 matrix as an input #1
Comments
First version see: here |
Coming back to this function after two years I realized the functionality is a little different than desired from Michael's example. It requires quite a big restructuring of the |
Yes, I agree -- this means that the input must receive a completely different set of checks in terms of t_start, t_stop, number of bins, and bin width. |
I started to implement this in a new branch, see here. |
Free to review now. |
Feature/ci GitHub actions
Total spiking probability edges , fix pep8 issues, refactor unittests
Currently, the BinnedSpiketrain class only accepts a list of spiketrains as an input. However, it would be very useful to also be able to convert a numpy array of 01 values into a BinnedSpiketrain object:
a=np.zeros((10,10))
b=BinnedSpiketrain(a,tstart=0s,tstop=10s)
The text was updated successfully, but these errors were encountered: