neat.CompartmentFitter.fit_passive

CompartmentFitter.fit_passive(fit_arg, use_all_channels=True, pprint=False)[source]

Fit the steady state passive model, consisting only of leak and coupling conductances, but ensure that the coupling conductances takes the passive opening of all channels into account

Parameters:
  • fit_arg (see docstring of CompartmentFitter.convert_fit_args()) – Specifying the fit that is being performed.

  • use_all_channels (bool (optional)) – use leak at rest of all channels combined in the passive fit (passive leak has to be refit after capacitance fit)

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

Returns:

  • neat.CompartmentTree – The compartmenttree that is in the process of being fitted.

  • list of <neat.MorphLoc> – The corresponding list of fit locations.