* @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) {