Plotter.plot(rate, -1, .001f, 1, "rate");
Plotter.plot(current, 0, dt, T, "current");
Plotter.plot(pattern);
// SigmoidNeuronFactory snf = new SigmoidNeuronFactory(new IndicatorPDF(-10, 10), new IndicatorPDF(-1, 1), new IndicatorPDF(100, 200));
LinearNeuronFactory lnf = new LinearNeuronFactory(new IndicatorPDF(200, 400), new IndicatorPDF(-1, 1), true);
NEFEnsembleFactory ef = new NEFEnsembleFactoryImpl();
ef.setNodeFactory(lnf);
try {
NEFEnsemble ensemble = ef.make("test", 20, 1);