001    package cnslab.cnsnetwork;
002    
003    /***********************************************************************
004    * The data structure to store parameters of the SIF neuron.
005    *  
006    * @version
007    *   $Date: 2012-08-04 13:43:22 -0500 (Sat, 04 Aug 2012) $
008    *   $Rev: 104 $
009    *   $Author: croft $
010    * @author
011    *   Yi Dong
012    * @author
013    *   David Wallace Croft
014    ***********************************************************************/
015    public final class  SIFNeuronPara
016      implements Para
017    ////////////////////////////////////////////////////////////////////////
018    ////////////////////////////////////////////////////////////////////////
019    {
020    
021    /** capacitance of the neuron farad */
022    public double CAP = 3E-11;
023    
024    /** leak conductance siemens */
025    public double GL = 1.5E-9;
026
027    /** the decay for excitation 5 ms */
028    public double DECAY_E = 1 / 0.005;
029    
030    /** the decay for inhibition 50 ms */
031    public double DECAY_I = 1 / 0.025;
032
033    /** resting potential V */
034    public double VRESET = -0.07;
035    
036    /** reset potential V */
037    public double VREST = -0.07 ;  
038
039    /** threshold potential V */
040    public double THRESHOLD = -0.05;
041    
042    /** refractory current */
043    public double REFCURR = 0E-10;
044    
045    /** voltage from threshold for which the neuron is considered to fire */
046    public double EPSV = 1E-12;
047
048    /** absolute refractory period */
049    public double ABSREF = 0.002;
050//  public double ABSREF = 0.000;
051
052    /** minimum rising time for neuron to fire */
053    public double MINRISETIME = 1e-4;
054
055    /** initialized membrane voltage */
056    public double ini_mem = -0.07;
057    
058    /** initialized membrane voltage variance */
059    public double ini_memVar = 0.005;
060
061    public boolean GlobalInit = false;
062
063    /** look up table, memvoltage, +curr, - curr */
064    public boolean [ ] [ ] [ ]  FIRETABLE;
065    
066    ////////////////////////////////////////////////////////////////////////
067    ////////////////////////////////////////////////////////////////////////
068    
069    @Override
070    public String getModel()
071    ////////////////////////////////////////////////////////////////////////
072    {
073      return "SIFNeuron";
074    }
075    
076    ////////////////////////////////////////////////////////////////////////
077    ////////////////////////////////////////////////////////////////////////
078    }