relocated things, new issue emerged

This commit is contained in:
ralf 2024-07-23 13:15:29 +03:00
parent 7d6124752b
commit c2fcdc0a24

View File

@ -69,8 +69,8 @@ class Fitter:
) )
states = self.initial_values states = self.initial_values
V = model.mem_potential(t)
t = self.tspan t = self.tspan
V = 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]