smefit.optimize package

Submodules

smefit.optimize.chi2_profiles module

class smefit.optimize.chi2_profiles.CHI2_PROFILES(config)[source]

Bases: object

chi2_func(params)[source]

Wrap the chi2 in a function for scipy optimiser. Pass noise and data info as args. Log the chi2 value and values of the coefficients.

get_chi2_profiles()[source]

Scans the chi2 space to find suitable coefficient bounds

set_constraints()[source]

Sets parameter constraints

setup_CT()[source]

Set up the closure tests

smefit.optimize.optimize module

Fitting the Wilson coefficients

class smefit.optimize.optimize.OPTIMIZE(config)[source]

Bases: object

chi2_func(params)[source]

Wrap the chi2 in a function for scipy optimiser. Pass noise and data info as args. Log the chi2 value and values of the coefficients.

get_free_params()[source]

Gets free parameters entering fit

get_status(shifts, chi2)[source]

Monitor minimization procedure

propogate_params()[source]

Propagates minimizer’s updated parameters to the coefficient tuple

run_fit()[source]

Run the minimisation

set_constraints()[source]

Sets parameter constraints

set_newparams(params)[source]

Propagates minimizer’s parameter shifts

setup_CT()[source]

Set up the closure tests

smefit.optimize.optimize_ns module