Evaluator

class minkit.Evaluator[source]

Bases: object

Object to evaluate an FCN on a set of PDFs and data sets.

Attributes Summary

args All the arguments of the evaluator.

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)

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.