neat.CompartmentFitter.fitPassive

CompartmentFitter.fitPassive(use_all_channels=True, recompute=False, pprint=False)[source]

Fit the steady state passive model, consisting only of leak and coupling conductances, but ensure that the coupling conductances takes the passive opening of all channels into account

Parameters
  • use_all_channels (bool (optional)) – use leak at rest of all channels combined in the passive fit (passive leak has to be refit after capacitance fit)

  • recompute (bool (optional, defaults to False)) – whether to force recomputing the impedances

  • pprint (bool (optional, defaults to False)) – whether to print information