Documentation of 'org.freehep.math.minuit.MnScan' Java class
MnScan
org.freehep.math.minuit

Class MnScan



  • public class MnScan
    extends MnApplication
    MnScan scans the value of the user function by varying one parameter. It is sometimes useful for debugging the user function or finding a reasonable starting point.
    • Constructor Detail

      • MnScan

        public MnScan(FCNBase fcn,
                      double[] par,
                      double[] err)
        construct from FCNBase + double[] for parameters and errors with default strategy
      • MnScan

        public MnScan(FCNBase fcn,
                      double[] par,
                      double[] err,
                      int stra)
        construct from FCNBase + double[] for parameters and errors
      • MnScan

        public MnScan(FCNBase fcn,
                      double[] par,
                      MnUserCovariance cov)
        construct from FCNBase + double[] for parameters and MnUserCovariance with default strategy
      • MnScan

        public MnScan(FCNBase fcn,
                      double[] par,
                      MnUserCovariance cov,
                      int stra)
        construct from FCNBase + double[] for parameters and MnUserCovariance
      • MnScan

        public MnScan(FCNBase fcn,
                      MnUserParameters par)
        construct from FCNBase + MnUserParameters with default strategy
    • Method Detail

      • scan

        public java.util.List<Point> scan(int par)
      • scan

        public java.util.List<Point> scan(int par,
                                          int maxsteps)
      • scan

        public java.util.List<Point> scan(int par,
                                          int maxsteps,
                                          double low,
                                          double high)
        Scans the value of the user function by varying parameter number par, leaving all other parameters fixed at the current value. If par is not specified, all variable parameters are scanned in sequence. The number of points npoints in the scan is 40 by default, and cannot exceed 100. The range of the scan is by default 2 standard deviations on each side of the current best value, but can be specified as from low to high. After each scan, if a new minimum is found, the best parameter values are retained as start values for future scans or minimizations. The curve resulting from each scan can be plotted on the output terminal using MnPlot in order to show the approximate behaviour of the function.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.