SimultaneousEvaluator

class minkit.SimultaneousEvaluator(evaluators, constraints=None)[source]

Bases: minkit.Evaluator

Build an object to evaluate PDFs on independent data samples. This class is not meant to be used by users.

Parameters:

Attributes Summary

args All the arguments of the evaluator.
data Data sample.
pdf Probability density function.

Methods Summary

__call__(*values) Evaluate the FCN.
fcn() Calculate the value of the FCN with the current set of values.
using_caches() Create a context where the cache of the PDF is activated.

Attributes Documentation

args

All the arguments of the evaluator.

Type:Registry(Parameter)
data

Data sample.

Type:DataSet or BinnedDataSet
pdf

Probability density function.

Type:PDF

Methods Documentation

__call__(*values)[source]

Evaluate the FCN. Values must be provided sorted as PDF.args().

Parameters:values (tuple(float)) – set of values to evaluate the FCN.
Returns:Value of the FCN.
Return type:float

See also

Evaluator.fcn()

fcn()[source]

Calculate the value of the FCN with the current set of values.

Returns:Value of the FCN.
Return type:float
using_caches()[source]

Create a context where the cache of the PDF is activated. This should be done before successive calls to the evaluator.