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 eigenmode

  • check_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 scale

  • force_tau_m_fit (bool (optional, default False)) – force capacitance fit through membrance time scale matching

  • recompute (bool (optional, defaults to False)) – whether to force recomputing the impedances

  • pprint (bool (optional, defaults to False)) – whether to print information

  • pplot (bool (optional, defaults to False)) – whether to plot the eigenmode timescales