neat.PhysTree.as_passive_membrane

PhysTree.as_passive_membrane(*args, **kwargs)[source]

Makes the membrane act as a passive membrane (for the nodes in node_arg), channels are assumed to add a conductance of g_max * p_open to the membrane conductance, where p_open for each node is evaluated at the expansion point potential stored in that node, i.e. PhysNode.v_ep (see PhysTree.set_v_ep()).

Parameters:
  • channel_names (List[str] or None) – The channels to passify. If not provided, all channels are passified.

  • node_arg (optional) – see documentation of MorphTree.convert_node_arg_to_nodes(). Defaults to None. The nodes for which the membrane is set to passive