buzsakilab / buzcode

Code for internal lab sharing - polishing has started but is by no means complete
http://www.buzsakilab.com/
GNU General Public License v3.0
119 stars 129 forks source link

The spiketimes input to bz_MonoSynConvClick should be in s not ms #390

Open PhantomSpike opened 4 years ago

PhantomSpike commented 4 years ago

Firstly, than you so much for developing all these awesome functions! :clap:

Small comment that might save other people from headache:

In the function bz_MonoSynConvClick the documentation says the spiketimes var should be in ms whereas in fact it should say seconds. Took me a while to figure out why I was getting garbage.

%%% spikestimes = Nx1 matrix aligned with spikeIDs where each row is a %%% time stamp in ms

Cheers!