neat.PhysTree.set_physiology¶
- PhysTree.set_physiology(*args, **kwargs)[source]¶
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.convert_node_arg_to_nodes(). Defaults to None