A Parametric model for the integral of a 2D distribution. More...
#include <integralmodel.h>
Public Member Functions | |
| virtual double | get_integral (const Channel &channel) const =0 |
| Get the value of the integral in a single Channel. | |
| virtual std::vector< std::pair< ParamBaseCRef, ExtraParamFactorValues > > | get_integral_derivative_factors (const Channel &channel) const =0 |
| Return the partial derivative of the model w.r.t. each metaparameter. | |
Public Member Functions inherited from lsst::gauss2d::fit::Chromatic | |
| virtual std::vector< std::reference_wrapper< const Channel > > | get_channels () const =0 |
| Get the set of channels this instance is applicable for. | |
Public Member Functions inherited from lsst::gauss2d::fit::Parametric | |
| virtual ParamRefs & | get_parameters (ParamRefs ¶ms, ParamFilter *filter=nullptr) const =0 |
| virtual ParamCRefs & | get_parameters_const (ParamCRefs ¶ms, ParamFilter *filter=nullptr) const =0 |
| Same as get_parameters(), but for const refs. | |
| ParamRefs | get_parameters_new (ParamFilter *filter=nullptr) const |
| Same as get_parameters(), but returning a new vector. | |
| ParamCRefs | get_parameters_const_new (ParamFilter *filter=nullptr) const |
| Same as get_parameters_const(), but returning a new vector. | |
A Parametric model for the integral of a 2D distribution.
IntegralModel implementations can use as many Parameter classes as needed. The model should be efficiently differentiable in the first order, via finite differencing if analytical evaluation is not possible.
IntegralModels may have meaningful ordering of channels but must enforce uniqueness constraints where relevant.
|
pure virtual |
Get the value of the integral in a single Channel.
Implemented in lsst::gauss2d::fit::FractionalIntegralModel, lsst::gauss2d::fit::LinearIntegralModel, and lsst::gauss2d::fit::SersicModelIntegral.
|
pure virtual |
Return the partial derivative of the model w.r.t. each metaparameter.
This is generally needed only for nonlinear Parameter instances.
| channel | The Channel to return derivatives for. |
Implemented in lsst::gauss2d::fit::FractionalIntegralModel, lsst::gauss2d::fit::LinearIntegralModel, and lsst::gauss2d::fit::SersicModelIntegral.