neat.CompartmentFitter.fitCapacitance¶
-
CompartmentFitter.
fitCapacitance
(inds=[0], check_fit=True, force_tau_m_fit=False, recompute=False, pprint=False, pplot=False)[source]¶ Fit the capacitances of the model to the largest SOV time scale
- Parameters
inds (list of int (optional, defaults to
[0]
)) – indices of eigenmodes used in the fit. Default is [0], indicating the largest eigenmodecheck_fit (bool (optional, default
True
)) – Check whether the largest eigenmode of the reduced model is within tolerance of the largest eigenmode of the full tree. If not, capacitances are set to mach membrane time scaleforce_tau_m_fit (bool (optional, default
False
)) – force capacitance fit through membrance time scale matchingrecompute (bool (optional, defaults to
False
)) – whether to force recomputing the impedancespprint (bool (optional, defaults to
False
)) – whether to print informationpplot (bool (optional, defaults to
False
)) – whether to plot the eigenmode timescales