Package ca.nengo.ui.configurable.descriptors.functions

Examples of ca.nengo.ui.configurable.descriptors.functions.FnReflective


        functions.add(new FnConstant(myInputDimension, isInputDimensionEditable));
        functions.add(new FnCustom(myInputDimension, false));

        // These functions can only have a input dimension of 1
        if (myInputDimension == 1) {
            FnReflective fourierFunction = new FnReflective(FourierFunction.class, "Fourier Function",
                new Property[] { new PFloat("Fundamental [Hz]","The smallest frequency represented, in Hertz"),
                                 new PFloat("Cutoff [Hz]","The largest frequency represented, in Hertz"),
                                 new PFloat("RMS","Root-mean-square amplitude of the signal"),
                                 new PLong("Seed","Seed for the random number generator") },
                new String[] { "getFundamental", "getCutoff", "getRms", "getSeed" });

            FnReflective gaussianPDF = new FnReflective(GaussianPDF.class, "Gaussian PDF",
                new Property[] { new PFloat("Mean","Mean of the Gaussian distribution"),
                                 new PFloat("Variance","Variance of the Gaussian disribution"),
                                 new PFloat("Peak","Maximum value of the Gaussian distribution (at the mode)") },
                new String[] { "getMean", "getVariance", "getPeak" });
View Full Code Here

TOP

Related Classes of ca.nengo.ui.configurable.descriptors.functions.FnReflective

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.