15 #ifndef BORNAGAIN_FIT_KERNEL_PYCALLBACK_H
16 #define BORNAGAIN_FIT_KERNEL_PYCALLBACK_H
Defines class Parameters.
Base class to wrap Python callable and pass it to C++. Used in swig interface file,...
virtual std::vector< double > call_residuals(mumufit::Parameters pars) const
Call Python callable and returns its result. Intended to be overloaded in Python.
CallbackType m_callback_type
PyCallback(CallbackType callback_type=SCALAR)
virtual double call_scalar(mumufit::Parameters pars) const
Call Python callable and returns its result. Intended to be overloaded in Python.
CallbackType callback_type() const
A collection of fit parameters.