neat.CompartmentFitter.fit_e_eq

CompartmentFitter.fit_e_eq(fit_arg)[source]

Fits the leak potentials of the reduced model to yield the same equilibrium potentials as the full model

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

  • loc_arg (list of locations or string) – if list of locations, specifies the locations at which to compute the equilibrium potentials, if string, specifies the name under which a set of location is stored

Returns:

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

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