Examples of SpikePatternImpl


Examples of ca.nengo.util.impl.SpikePatternImpl

   * @param endTime End time for the spike pattern
   */
  public void setSpikePattern(float[] spikes, float endTime) {
    if(myCollectSpikesFlag) {
      if (mySpikePattern == null) {
        mySpikePattern = new SpikePatternImpl(myNodes.length);
      }

      for(int i = 0; i < myNodes.length; i++) {

        if(myCollectSpikesRatio == 1 || i % myCollectSpikesRatio == 0) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.