Package ca.nengo.model.neuron

Examples of ca.nengo.model.neuron.SpikeGenerator


    /**
     * @see ca.nengo.model.impl.NodeFactory#make(java.lang.String)
     */
    public Node make(String name) throws StructuralException {
      LinearSynapticIntegrator integrator = new LinearSynapticIntegrator(.001f, Units.ACU);
      SpikeGenerator sg = new HodgkinHuxleySpikeGenerator();
      return new ExpandableSpikingNeuron(integrator, sg, 10, 0, name);
    }
View Full Code Here


    /**
     * @see ca.nengo.model.impl.NodeFactory#make(java.lang.String)
     */
    public Node make(String name) throws StructuralException {
        SynapticIntegrator integrator = myIntegratorFactory.make();
        SpikeGenerator generator = myGeneratorFactory.make();
        float scale = myScale.sample()[0];
        float bias = myBias.sample()[0];

        Node result = null;

View Full Code Here

         * @param name Name of the node in ensemble
         */
        public Node make(String name) throws StructuralException {

            SynapticIntegrator integrator = new LinearSynapticIntegrator(ourMaxTimeStep, ourCurrentUnits);
            SpikeGenerator generator = pf.make();
            float scale;//a new scale is created every time a dendrite is to be made

            scale = r.nextFloat() + r.nextInt(this.range);


View Full Code Here

    /**
     * @see ca.nengo.model.impl.NodeFactory#make(java.lang.String)
     */
    public Node make(String name) throws StructuralException {
      SynapticIntegrator integrator = new LinearSynapticIntegrator(ourMaxTimeStep, ourCurrentUnits);
      SpikeGenerator generator = mySpikeGeneratorFactory.make();
      return new ExpandableSpikingNeuron(integrator, generator, 1, 0, name);
    }
View Full Code Here

    /**
     * @see ca.nengo.model.impl.NodeFactory#make(java.lang.String)
     */
    public Neuron make(String name) throws StructuralException {
      SynapticIntegrator integrator = new LinearSynapticIntegrator(ourMaxTimeStep, ourCurrentUnits);
      SpikeGenerator generator = mySigmoidFactory.make();
      return new ExpandableSpikingNeuron(integrator, generator, 1, 0, name);
    }
View Full Code Here

    float scale = (x - 1f) / (1f - intercept);
   
    float bias = 1f - scale * intercept;
   
    SynapticIntegrator integrator = new LinearSynapticIntegrator(ourMaxTimeStep, ourCurrentUnits);
    SpikeGenerator generator = new ALIFSpikeGenerator(myTauRef, myTauRC, myTauN, myIncN.sample()[0]);
   
    return new ExpandableSpikingNeuron(integrator, generator, scale, bias, name);   
  }
View Full Code Here

    float scale = (x - 1f) / (1f - intercept);
   
    float bias = 1f - scale * intercept;
   
    SynapticIntegrator integrator = new LinearSynapticIntegrator(ourMaxTimeStep, ourCurrentUnits);
    SpikeGenerator generator = new LIFSpikeGenerator(ourMaxTimeStep, myTauRC, myTauRef);
   
    return new ExpandableSpikingNeuron(integrator, generator, scale, bias, name);   
  }
View Full Code Here

TOP

Related Classes of ca.nengo.model.neuron.SpikeGenerator

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.