neat.PhysNode.as_passive_membrane¶
- PhysNode.as_passive_membrane(channel_storage, channel_names=None, v=None)[source]¶
Makes the membrane act as a passive membrane for this node, channels are assumed to add a conductance of g_max * p_open to the membrane conductance, where p_open is evaluated at the expansion point potential stored under self.v_ep
- Parameters:
channel_storage (dict {
channel_name: channel_instance}) – dict where all ion channel objects present on the node are storedchannel_names (List[str] or None) – The channels to passify. If not provided, all channels are passified.
v (float (optional, defaults to self.v_ep)) – the potential (in mV) at which to compute the membrane conductance