Hi Jorrit and Montjin, made change to getSpikeT to speed up, assumes the vecSpikeTimes is sorted, which unless the experimentalist is totally insane, this should be the case.
Speed up is not as much as I had initially thought ~ 10 x but should get called for each resample, so could add up.
I could not figure how to push the branch with out forking, sorry if this is cumbersome, I am not great at git.
Hi Jorrit and Montjin, made change to getSpikeT to speed up, assumes the vecSpikeTimes is sorted, which unless the experimentalist is totally insane, this should be the case.
Speed up is not as much as I had initially thought ~ 10 x but should get called for each resample, so could add up.
I could not figure how to push the branch with out forking, sorry if this is cumbersome, I am not great at git.