neat.CompartmentFitter.fit_leak_only

CompartmentFitter.fit_leak_only(fit_arg, pprint=True)[source]

Fit leak only. Coupling conductances have to have been fit already.

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

  • 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.