Command fit

Fit a density to multiple histograms simulatneously.

Usage:

multifit fit CONFIG LOG [-v] [-r | -a] [–minos PARAM…] [options]

Positional arguments:
CONFIG:

yaml configuration file.

LOG:

json log file. By default, raises an error if the file already exists.

Options:
-h, --help

Show this help screen and exit.

-v, --verbose

Print runtime information.

-r, --recreate

Replace an existing log file.

-a, --append

Append to an existing log file.

--tries N

Number of times to run the migrad minimiser before giving up. [default: 5]

--strategy N

Strategy to use for the minimisation. Choices are 0 (fast), 1, 2 (careful). See the iminuit documentation for details. [default: 1]

–minos PARAM… Calculate minos errors for the given parameters,

or use ‘all’ for all parameters (not usually necessary). This can take several minutes.

--retries N

Rerun migrad this number of times after a minimum has been found. [default: 0]

--no-delete

Keep the log file after an exception. The state of this file is undefined.

Copyright (C) 2026 Johannes Sørby Heines