n3fit.scripts package

Submodules

n3fit.scripts.evolven3fit module

This module contains the CLI for evolven3fit

n3fit.scripts.evolven3fit.construct_eko_parser(subparsers)[source]
n3fit.scripts.evolven3fit.construct_eko_photon_parser(subparsers)[source]
n3fit.scripts.evolven3fit.construct_evolven3fit_parser(subparsers)[source]
n3fit.scripts.evolven3fit.evolven3fit_new()[source]
n3fit.scripts.evolven3fit.main()[source]

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

get_commandline_arguments(cmdline=None)[source]
run()[source]

TODO

class n3fit.scripts.n3fit_exec.N3FitConfig(input_params, environment=None)[source]

Bases: Config

Specialization for yaml parsing

classmethod from_yaml(o, *args, **kwargs)[source]
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

produce_kfold_parameters(kfold=None, hyperopt=None)[source]

Return None even if there are kfolds in the runcard if the hyperopt flag is not active

produce_kpartitions(kfold_parameters)[source]
produce_use_fitcommondata(fakedata)[source]

Produces the use_fitcommondata key from the fakedata key in closuretest namespace

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

init_output()[source]
classmethod ns_dump_description()[source]
exception n3fit.scripts.n3fit_exec.N3FitError[source]

Bases: Exception

Exception raised when n3fit cannot succeed and knows why

n3fit.scripts.n3fit_exec.main()[source]

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

get_commandline_arguments(cmdline=None)[source]
run()[source]

TODO

class n3fit.scripts.vp_setupfit.SetupFitConfig(input_params, environment=None)[source]

Bases: Config

Specialization for yaml parsing

classmethod from_yaml(o, *args, **kwargs)[source]
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

init_output()[source]
classmethod ns_dump_description()[source]
save_md5()[source]

Generate md5 key from file

exception n3fit.scripts.vp_setupfit.SetupFitError[source]

Bases: Exception

Exception raised when setup-fit cannot succeed and knows why

n3fit.scripts.vp_setupfit.main()[source]

Module contents