minor attempt at improvement
This commit is contained in:
parent
59d5efe418
commit
c232400943
Binary file not shown.
@ -69,8 +69,8 @@ class Fitter:
|
|||||||
)
|
)
|
||||||
|
|
||||||
states = self.initial_values
|
states = self.initial_values
|
||||||
t = self.tspan
|
|
||||||
V = model.mem_potential(t)
|
V = self.model.mem_potential(t)
|
||||||
_calc_curr = model.calculated_current(states, t, V)
|
_calc_curr = model.calculated_current(states, t, V)
|
||||||
calculated_current = (
|
calculated_current = (
|
||||||
self.convolve_current(_calc_curr, tau=tau_RC)[self.current_time_indecies]
|
self.convolve_current(_calc_curr, tau=tau_RC)[self.current_time_indecies]
|
||||||
|
Loading…
Reference in New Issue
Block a user