org.freehep.math.minuit
Class MnContours
- java.lang.Object
-
- org.freehep.math.minuit.MnContours
-
public class MnContours extends java.lang.ObjectAPI class for Contours error analysis (2-dim errors). Minimization has to be done before and minimum must be valid. Possibility to ask only for the points or the points and associated Minos errors.
-
-
Constructor Summary
Constructors Constructor and Description MnContours(FCNBase fcn, FunctionMinimum min)construct from FCN + minimumMnContours(FCNBase fcn, FunctionMinimum min, int stra)construct from FCN + minimum + strategyMnContours(FCNBase fcn, FunctionMinimum min, MnStrategy stra)construct from FCN + minimum + strategy
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description ContoursErrorcontour(int px, int py)ContoursErrorcontour(int px, int py, double errDef)ContoursErrorcontour(int px, int py, double errDef, int npoints)Causes a CONTOURS error analysis and returns the result in form of ContoursError.java.util.List<Point>points(int px, int py)java.util.List<Point>points(int px, int py, double errDef)java.util.List<Point>points(int px, int py, double errDef, int npoints)Calculates one function contour of FCN with respect to parameters parx and pary.
-
-
-
Constructor Detail
-
MnContours
public MnContours(FCNBase fcn, FunctionMinimum min)
construct from FCN + minimum
-
MnContours
public MnContours(FCNBase fcn, FunctionMinimum min, int stra)
construct from FCN + minimum + strategy
-
MnContours
public MnContours(FCNBase fcn, FunctionMinimum min, MnStrategy stra)
construct from FCN + minimum + strategy
-
-
Method Detail
-
points
public java.util.List<Point> points(int px, int py)
-
points
public java.util.List<Point> points(int px, int py, double errDef)
-
points
public java.util.List<Point> points(int px, int py, double errDef, int npoints)
Calculates one function contour of FCN with respect to parameters parx and pary. The return value is a list of (x,y) points. FCN minimized always with respect to all other n - 2 variable parameters (if any). MINUIT will try to find n points on the contour (default 20). To calculate more than one contour, the user needs to set the error definition in its FCN to the appropriate value for the desired confidence level and call this method for each contour.
-
contour
public ContoursError contour(int px, int py)
-
contour
public ContoursError contour(int px, int py, double errDef)
-
contour
public ContoursError contour(int px, int py, double errDef, int npoints)
Causes a CONTOURS error analysis and returns the result in form of ContoursError. As a by-product ContoursError keeps the MinosError information of parameters parx and pary. The result ContoursError can be easily printed using MnPrint or toString().
-
-
DMelt 3.0 © DataMelt by jWork.ORG