Skip to content
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

Sort spikes in spiketrains #30

Open
alperyeg opened this issue May 9, 2017 · 0 comments
Open

Sort spikes in spiketrains #30

alperyeg opened this issue May 9, 2017 · 0 comments

Comments

@alperyeg
Copy link

alperyeg commented May 9, 2017

Example:

import neo 
import quantities as pq 
st = neo.SpikeTrain([1, 0, 2, 3]* pq.ms, t_start=0*pq.ms, t_stop=3*pq.ms)
print(st) 
>>> [ 1.  0.  2.  3.] ms

should give an error or correctly sort the spikes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant