neat.CompartmentFitter.fitModel¶
-
CompartmentFitter.
fitModel
(loc_arg, alpha_inds=[0], use_all_channels_for_passive=True, recompute=False, pprint=False, parallel=False)[source]¶ Runs the full fit for a set of locations (the location are automatically extended with the bifurcation locs)
- Parameters
loc_arg (list of locations or string (see documentation of) –
MorphTree._convertLocArgToLocs()
for details) The compartment locationsalpha_inds (list of ints) – Indices of all mode time-scales to be included in the fit
use_all_channels_for_passive (bool (optional, default
True
)) – Uses all channels in the tree to compute coupling conductancesrecompute (bool) – whether to force recomputing the impedances
pprint (bool) – whether to print information
parallel (bool) – whether the models are evaluated in parallel
- Returns
The reduced tree containing the fitted parameters
- Return type
neat.CompartmentTree