Closed PikaPei closed 3 weeks ago
Good spot. It was a small bug originating from the fact that dt
is calculated on the fly when interpolation=False
but the initial time is offset to zero, as is self.t
, giving dt=0
and some divide-by-error errors when trying to calculate speeds etc.
Should be fixed now in version v1.14.1, let me know if you think otherwise.
marking as closed for now
Hi Tom,
Great to see RatInABox has become so wonderful!
I have a question: When I used
Ag.import_trajectory
withinterpolate=False
, I would get nan values in neuron output firingrate list.Here is an example:
I also tried
interpolate=True
, but I got weird values from the beginning and the end ofAg.history["vel"]
. I haven't figured out how to control it, so I change tointerpolate=False
. Thank you!