neat.CompartmentFitter.fit_concentration

CompartmentFitter.fit_concentration(fit_arg, ion)[source]

Fits the concentration mechanisms parameters associate with the ion ion type.

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

  • ion (str) – The ion type that is to be fitted (e.g. ‘ca’).

Returns:

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

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