neat.PhysTree.setPhysiology¶
-
PhysTree.
setPhysiology
(*args, **kwargs)¶ Set specifice membrane capacitance, axial resistance and (optionally) static point-like shunt conductances in the tree. Capacitance is stored at each node as the attribute ‘c_m’ (uF/cm2) and axial resistance as the attribute ‘r_a’ (MOhm*cm)
- Parameters
c_m_distr (float, dict or
float -> float()
) – specific membrance capacitancer_a_distr (float, dict or
float -> float()
) – axial resistanceg_s_distr (float, dict,
float -> float()
or None (optional, default) – is None) point like shunt conductances (placed at (node.index, 1.) for the nodes innode_arg
). By default no shunt conductances are addednode_arg (optional) – see documentation of
MorphTree._convertNodeArgToNodes()
. Defaults to None