[no commit message]

This commit is contained in:
darksnake 2016-08-01 13:51:01 +03:00
parent e6de0037ae
commit 8520015b9c
3 changed files with 5 additions and 4 deletions

View File

@ -26,7 +26,7 @@ import org.apache.commons.math3.analysis.UnivariateFunction
import org.apache.commons.math3.analysis.solvers.BisectionSolver
import inr.numass.models.LossCalculator
import inr.numass.models.ResolutionFunction
import inr.numass.NumassContext
import inr.numass.Numass

View File

@ -15,14 +15,15 @@
*/
package inr.numass.scripts
import hep.dataforge.context.Context
import hep.dataforge.data.DataNode
import hep.dataforge.fitting.FitTaskResult
import inr.numass.Main
import inr.numass.NumassContext
import inr.numass.Numass
//Main.main("-lc")
NumassContext context = new NumassContext();
Context context = Numass.buildContext();
context.putValue("integralThreshold", 15d);
DataNode resultPack = Main.run(context, "-c","D:\\sterile-new\\loss2014-11\\d2_19_1.xml")
FitTaskResult result = resultPack.getData().get()

View File

@ -21,7 +21,7 @@ import hep.dataforge.plots.jfreechart.JFreeChartFrame
import inr.numass.models.ExperimentalVariableLossSpectrum
import org.apache.commons.math3.analysis.UnivariateFunction
import inr.numass.NumassContext
import inr.numass.Numass
import hep.dataforge.fitting.ParamSet
import hep.dataforge.io.PrintFunction