Changeset 715 for trunk/src/cells.py

Show
Ignore:
Timestamp:
02/18/10 13:57:50 (2 years ago)
Author:
apdavison
Message:

Made nests handling of the refractory period consistent with the other backends. Made the default refractory period 0.1 ms rather than 0.0 ms, since NEST appears not to handle zero refractory period.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/cells.py

    r713 r715  
    4040        'cm'         :   1.0,   # Capacity of the membrane in nF 
    4141        'tau_m'      :  20.0,   # Membrane time constant in ms. 
    42         'tau_refrac' :   0.0,   # Duration of refractory period in ms.  
     42        'tau_refrac' :   0.1,   # Duration of refractory period in ms.  
    4343        'tau_syn_E'  :   0.5,   # Rise time of the excitatory synaptic alpha function in ms. 
    4444        'tau_syn_I'  :   0.5,   # Rise time of the inhibitory synaptic alpha function in ms. 
     
    6262        'cm'         : 1.0,     # Capacity of the membrane in nF 
    6363        'tau_m'      : 20.0,    # Membrane time constant in ms. 
    64         'tau_refrac' : 0.0,     # Duration of refractory period in ms.  
     64        'tau_refrac' : 0.1,     # Duration of refractory period in ms.  
    6565        'tau_syn_E'  : 5.0,     # Decay time of excitatory synaptic current in ms. 
    6666        'tau_syn_I'  : 5.0,     # Decay time of inhibitory synaptic current in ms. 
     
    8383        'cm'         : 1.0,     # Capacity of the membrane in nF 
    8484        'tau_m'      : 20.0,    # Membrane time constant in ms. 
    85         'tau_refrac' : 0.0,     # Duration of refractory period in ms. 
     85        'tau_refrac' : 0.1,     # Duration of refractory period in ms. 
    8686        'tau_syn_E'  : 0.3,     # Rise time of the excitatory synaptic alpha function in ms. 
    8787        'tau_syn_I'  : 0.5,     # Rise time of the inhibitory synaptic alpha function in ms. 
     
    105105        'cm'         : 1.0,     # Capacity of the membrane in nF 
    106106        'tau_m'      : 20.0,    # Membrane time constant in ms. 
    107         'tau_refrac' : 0.0,     # Duration of refractory period in ms. 
     107        'tau_refrac' : 0.1,     # Duration of refractory period in ms. 
    108108        'tau_syn_E'  : 5.0,     # Decay time of the excitatory synaptic conductance in ms. 
    109109        'tau_syn_I'  : 5.0,     # Decay time of the inhibitory synaptic conductance in ms. 
     
    133133        'cm'         : 1.0,     # Capacity of the membrane in nF 
    134134        'tau_m'      : 20.0,    # Membrane time constant in ms. 
    135         'tau_refrac' : 0.0,     # Duration of refractory period in ms. 
     135        'tau_refrac' : 0.1,     # Duration of refractory period in ms. 
    136136        'tau_syn_E'  : 5.0,     # Decay time of the excitatory synaptic conductance in ms. 
    137137        'tau_syn_I'  : 5.0,     # Decay time of the inhibitory synaptic conductance in ms. 
     
    211211        'w_init'    : 0.0,    # Initial spike-adaptation current in nA 
    212212        'cm'        : 0.281,  # Capacitance of the membrane in nF 
    213         'tau_refrac': 0.0,    # Duration of refractory period in ms. 
     213        'tau_refrac': 0.1,    # Duration of refractory period in ms. 
    214214        'v_spike'   : -40.0,    # Spike detection threshold in mV. 
    215215        'v_reset'   : -70.6,  # Reset value for V_m after a spike. In mV. 
     
    244244        'w_init'    : 0.0,    # Initial spike-adaptation current in nA 
    245245        'cm'        : 0.281,  # Capacitance of the membrane in nF 
    246         'tau_refrac': 0.0,    # Duration of refractory period in ms. 
     246        'tau_refrac': 0.1,    # Duration of refractory period in ms. 
    247247        'v_spike'   : -40.0,    # Spike detection threshold in mV. 
    248248        'v_reset'   : -70.6,  # Reset value for V_m after a spike. In mV.