neat.CompartmentFitter.fit_channels

CompartmentFitter.fit_channels(fit_arg, pprint=False)[source]

Fit the active ion channel parameters

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.