-
Notifications
You must be signed in to change notification settings - Fork 96
Description
Hi there,
I am new to using BMTK, and I am trying to run a model where I inject a noisy current step using the IClamp module. I want this current injection to be a time varying stimulus with 0.1 ms steps. However, when I try to provide this resolution of time steps I get an error "Exception: IClampMod: csv timestamps column (timestamps) must have a consistent intervals." I think I have narrowed it down to how Python is representing floating points, and that there is an accumulation of errors across the timestamps vector such that when you run np.unique(np.diff(timestamps)), there are several different "interval" values. If I make my timestamps vector in increments of 1 (so dt=1ms), then I don't have this issue.
Ideally, I would inject a time varying stimulus defined by smaller timestamps than 1ms, though. Is there any way to allow for this functionality with the current set up?
Thank you!