Function f = new ConstantFunction(1, 1f);
// Function f = new SineFunction();
FunctionInput input = new FunctionInput("input", new Function[] { f }, Units.UNK);
network.addNode(input);
NEFEnsembleFactory ef = new NEFEnsembleFactoryImpl();
NEFEnsemble integrator = ef.make("integrator", 500, 1, "integrator1", false);
network.addNode(integrator);
integrator.collectSpikes(true);
// Plotter.plot(integrator);
// Plotter.plot(integrator, NEFEnsemble.X);