n3fit.scripts package
Submodules
n3fit.scripts.evolven3fit_new module
This module contains the CLI for evolven3fit_new
n3fit.scripts.n3fit_exec module
n3fit - performs fit using ml external frameworks
- class n3fit.scripts.n3fit_exec.N3FitApp[source]
Bases:
App
The class which parsers and performs the fit
- property argparser
- config_class
alias of
N3FitConfig
- environment_class
alias of
N3FitEnvironment
- class n3fit.scripts.n3fit_exec.N3FitConfig(input_params, environment=None)[source]
Bases:
Config
Specialization for yaml parsing
- parse_fakedata(fakedata: bool)[source]
Parses the fakedata key from the closuretest namespace, if True then use generated closure test in fit
- produce_fit()[source]
Produces a FitSpec which points at the current fit, to load fit_commondata from.
- produce_hyperscanner(parameters, hyperscan_config=None, hyperopt=None)[source]
For a hyperparameter scan to be run, a hyperscanner must be constructed from the original hyperscan_config
- class n3fit.scripts.n3fit_exec.N3FitEnvironment(*, this_folder=None, net=True, upload=False, dry=False, **kwargs)[source]
Bases:
Environment
Container for information to be filled at run time
n3fit.scripts.varflavors module
varflavors.py
When producing a PDF with different maximal flavor number than the nf during the fit, this script
should be used. It copies the original fit folder after which it run evolven3fit
on this fit
using the manually selected theory_id.
After running evolven3fit, this script replaces the AlphaS_MZ'' and ``MZ'' values in the .info
file, with the ``alphas
and Qref
values from the theory database.
This script does not run postfit, that should still be done manually.
n3fit.scripts.vp_setupfit module
setup-fit - prepare and apply data cuts before fit setup-fit constructs the fit [results] folder where data used by nnfit will be stored.
- class n3fit.scripts.vp_setupfit.SetupFitApp[source]
Bases:
App
The class which parsers and perform the filtering
- property argparser
- config_class
alias of
SetupFitConfig
- environment_class
alias of
SetupFitEnvironment
- class n3fit.scripts.vp_setupfit.SetupFitConfig(input_params, environment=None)[source]
Bases:
Config
Specialization for yaml parsing
- class n3fit.scripts.vp_setupfit.SetupFitEnvironment(*, this_folder=None, net=True, upload=False, dry=False, **kwargs)[source]
Bases:
Environment
Container for information to be filled at run time