Package edu.jhu.mb.ernst.model

Examples of edu.jhu.mb.ernst.model.Synapse


      assertEquals ( -1, timeOfNextFire0, 0 );

      final double  weight = 1e-9;  

      final Synapse  synapse = MODEL_FACTORY.createSynapse (
        0,   // to
        ( byte ) 0, // type (0 = excitatory)
        ( float ) weight );

      double  timeOfNextFire = neuron.updateInput (
View Full Code Here


     
      assertEquals ( -1, timeOfNextFire0, 0 );
     
      final double  weight = SIFNeuron.maxWeight / 10;
     
      final Synapse  synapse = MODEL_FACTORY.createSynapse (
        0, // to
        ( byte ) 0, // type (0 = excitatory)
        ( float ) weight );
     
      final double  timeOfNextFire1 = neuron.updateInput (
View Full Code Here

     
      assertEquals ( -1, timeOfNextFire0, 0 );
     
      final double  weight = VSICLIFNeuron.maxWeight / 10;  
     
      final Synapse  synapse = MODEL_FACTORY.createSynapse (
        0,   // to
        ( byte ) 0, // type (0 = excitatory)
        ( float ) weight );
     
      final double  timeOfNextFire1 = neuron.updateInput (
View Full Code Here

            {
              final double  inputEventTime
                = -Math.log ( Cnsran.ran2 ( seed ) )
                  / simulatorParser.backgroundFrequency;
             
              final Synapse  synapse = modelFactory.createSynapse (
                base + i,
                ( byte ) simulatorParser.bChannel,
                ( float ) simulatorParser.backgroundStrength );
             
              final PInputEvent  pInputEvent = new PInputEvent (
View Full Code Here

          relativeStrength = relativeStrengthList.get ( i ).doubleValue ( );

        final double
          synapseStrength = relativeStrength * strength;

        final Synapse  synapse = modelFactory.createSynapse (
          toNeuronIndex,
          ( byte ) type,
          ( float ) synapseStrength );

        final double  time = getNextTime ( onTime );
View Full Code Here

      int ymagratio=0;
      int xborder,yborder;
      int newx=0;
      int newy=0;
      String fromNeur,toNeur;
      Synapse syn;
      TreeSet<Synapse> synapses;
      int[] xy=new int[2];


      if(type==1&&stre>0) // these maynot be useful for new neuronal model
View Full Code Here

      // Update STDP variables.
       
        for ( final Map.Entry<Synapse,TimeWeight>  entry
          : histTable.entrySet ( ) )
        {
          final Synapse  syn = entry.getKey ( );
         
          // Get the relative weight.
         
          final TimeWeight  tw = entry.getValue();

          // Channel 0 has STDP.
         
          if ( syn.getType ( ) == 0 )
          {
            // LTP only for close spikes.
           
            if ( lastFireTime < tw.time )
            {
View Full Code Here

        //Iterator<Synapse,WeightTime> it = histTable.iterator();
       
        for ( final Map.Entry<Synapse,TimeWeight>  entry
          : histTable.entrySet ( ) )
        {
          final Synapse  syn = entry.getKey ( );
         
          // get the relative weight
         
          final TimeWeight  tw = entry.getValue();

          // channel 0 has STDP
         
          if ( syn.getType ( ) == 0 )
          {
            // LTP only for close spikes
           
            if ( lastFireTime < tw.time )
            {
View Full Code Here

TOP

Related Classes of edu.jhu.mb.ernst.model.Synapse

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.