Fixing Bayesian tools

This commit is contained in:
darksnake 2017-06-14 21:47:55 +03:00
parent 8e8d5fb055
commit 6cc2d5596e
3 changed files with 4 additions and 4 deletions

View File

@ -68,7 +68,7 @@ allPars.setParDomain("trap", 0d, Double.POSITIVE_INFINITY);
// PlotManager pm = new PlotManager(); // PlotManager pm = new PlotManager();
// String plotTitle = "Tritium spectrum"; // String plotTitle = "Tritium spectrum";
// pm.plotFunction(FunctionUtils.getSpectrumFunction(spectrum, allPars), 14000, 18600, 500,plotTitle, null); // pm.plotFunction(ParametricUtils.getSpectrumFunction(spectrum, allPars), 14000, 18600, 500,plotTitle, null);
// PrintNamed.printSpectrum(Out.onComplete, beta.trapping, allPars, 14000d, 18600d, 500); // PrintNamed.printSpectrum(Out.onComplete, beta.trapping, allPars, 14000d, 18600d, 500);
// double e = 18570d; // double e = 18570d;
// trans.alpha = 1e-4; // trans.alpha = 1e-4;

View File

@ -15,11 +15,11 @@
*/ */
package inr.numass.models; package inr.numass.models;
import hep.dataforge.maths.functions.FunctionCaching;
import hep.dataforge.maths.integration.GaussRuleIntegrator; import hep.dataforge.maths.integration.GaussRuleIntegrator;
import hep.dataforge.maths.integration.UnivariateIntegrator; import hep.dataforge.maths.integration.UnivariateIntegrator;
import hep.dataforge.plots.PlotFrame; import hep.dataforge.plots.PlotFrame;
import hep.dataforge.plots.data.PlottableXYFunction; import hep.dataforge.plots.data.PlottableXYFunction;
import hep.dataforge.stat.parametric.FunctionCaching;
import hep.dataforge.values.NamedValueSet; import hep.dataforge.values.NamedValueSet;
import org.apache.commons.math3.analysis.BivariateFunction; import org.apache.commons.math3.analysis.BivariateFunction;
import org.apache.commons.math3.analysis.UnivariateFunction; import org.apache.commons.math3.analysis.UnivariateFunction;

View File

@ -29,8 +29,8 @@ import java.util.HashMap;
import java.util.Map; import java.util.Map;
import java.util.Objects; import java.util.Objects;
import static hep.dataforge.stat.parametric.FunctionUtils.getSpectrumDerivativeFunction; import static hep.dataforge.stat.parametric.ParametricUtils.getSpectrumDerivativeFunction;
import static hep.dataforge.stat.parametric.FunctionUtils.getSpectrumFunction; import static hep.dataforge.stat.parametric.ParametricUtils.getSpectrumFunction;
/** /**
* *