Package ca.nengo.model.neuron.impl

Examples of ca.nengo.model.neuron.impl.SpikeGeneratorOrigin


 
  protected void setUp() throws Exception {
    super.setUp();
   
    myGenerator = new MockSpikeGenerator();
    myOrigin = new SpikeGeneratorOrigin(null, myGenerator);
  }
View Full Code Here


    for(int i = 0; i < nodes.length; i++){
      neurons[i] = (SpikingNeuron) nodes[i];
    }

    SpikingNeuron neuron = neurons[0];
    SpikeGeneratorOrigin origin;
    try {
      origin = (SpikeGeneratorOrigin) neuron.getOrigin(Neuron.AXON);
    } catch (StructuralException e) {
      e.printStackTrace();
      return null;
    }

    LIFSpikeGenerator generator = (LIFSpikeGenerator) origin.getGenerator();

    neuronData[1] = generator.getTauRC();
    neuronData[2] = generator.getTauRef();
    if (myPlasticEnsembleTerminations.size() > 0) {
      neuronData[3] = neuron.getTerminations()[0].getTau();
View Full Code Here

TOP

Related Classes of ca.nengo.model.neuron.impl.SpikeGeneratorOrigin

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.