Package ca.nengo.model

Examples of ca.nengo.model.PreciseSpikeOutput


      if (myCollectSpikesFlag && (myCollectSpikesRatio == 1 || i % myCollectSpikesRatio == 0)) {
        try {
          InstantaneousOutput output = myNodes[i].getOrigin(Neuron.AXON).getValues();
          if (output instanceof PreciseSpikeOutput) {
            PreciseSpikeOutput precise=((PreciseSpikeOutput) output);
            if (precise.getValues()[0]) {
              mySpikePattern.addSpike(i, endTime+precise.getSpikeTimes()[0]);
            }
          } else if (output instanceof SpikeOutput && ((SpikeOutput) output).getValues()[0]) {
            mySpikePattern.addSpike(i, endTime);
          }
        } catch (StructuralException e) {
View Full Code Here

TOP

Related Classes of ca.nengo.model.PreciseSpikeOutput

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.