Package ca.nengo.model.neuron.impl.PoissonSpikeGenerator

Examples of ca.nengo.model.neuron.impl.PoissonSpikeGenerator.LinearNeuronFactory


    protected NodeFactory createNodeFactory(ConfigResult configuredProperties) {
        IndicatorPDF maxRate = (IndicatorPDF) configuredProperties.getValue(pMaxRate);
        IndicatorPDF intercept = (IndicatorPDF) configuredProperties.getValue(pIntercept);
        Boolean rectified = (Boolean) configuredProperties.getValue(pRectified);

        LinearNeuronFactory factory = new PoissonSpikeGenerator.LinearNeuronFactory(maxRate,
                intercept, rectified);

        return factory;
    }
View Full Code Here


        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);
View Full Code Here

TOP

Related Classes of ca.nengo.model.neuron.impl.PoissonSpikeGenerator.LinearNeuronFactory

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.