lsst.jointcal
master-g0e1849c466
|
#include <PhotometryTransfo.h>
Public Member Functions | |
PhotometryTransfoSpatiallyInvariant (double value=1) | |
double | transform (double x, double y, double instFlux) const override |
Apply the transform to instFlux at (x,y), put result in flux. More... | |
void | dump (std::ostream &stream=std::cout) const override |
dumps the transfo coefficients to stream. More... | |
int | getNpar () const override |
Return the number of parameters (used to compute chisq) More... | |
void | offsetParams (Eigen::VectorXd const &delta) override |
Offset the parameters by some (negative) amount during fitting. More... | |
std::shared_ptr< PhotometryTransfo > | clone () const override |
return a copy (allocated by new) of the transformation. More... | |
void | computeParameterDerivatives (double x, double y, double instFlux, Eigen::Ref< Eigen::VectorXd > derivatives) const override |
Compute the derivatives with respect to the parameters (i.e. More... | |
Eigen::VectorXd | getParameters () const override |
Get a copy of the parameters of this model, in the same order as offsetParams . More... | |
double | transform (Point const &in, double instFlux) const |
Return the transformed instFlux at (x,y). More... | |
Protected Member Functions | |
void | setValue (double value) |
Friends | |
class | PhotometryTransfo |
Definition at line 86 of file PhotometryTransfo.h.
|
inline |
Definition at line 88 of file PhotometryTransfo.h.
|
inlineoverridevirtual |
return a copy (allocated by new) of the transformation.
Implements lsst::jointcal::PhotometryTransfo.
Definition at line 103 of file PhotometryTransfo.h.
|
inlineoverridevirtual |
Compute the derivatives with respect to the parameters (i.e.
the coefficients).
[in] | x | The x coordinate to compute at (in the appropriate units for this transfo). |
[in] | y | The y coordinate to compute at (in the appropriate units for this transfo). |
[in] | instFlux | The instrument flux to compute the derivative at. |
[out] | derivatives | The computed derivatives, in the same order as the deltas in offsetParams. |
Implements lsst::jointcal::PhotometryTransfo.
Definition at line 108 of file PhotometryTransfo.h.
|
inlineoverridevirtual |
dumps the transfo coefficients to stream.
Implements lsst::jointcal::PhotometryTransfo.
Definition at line 94 of file PhotometryTransfo.h.
|
inlineoverridevirtual |
Return the number of parameters (used to compute chisq)
Reimplemented from lsst::jointcal::PhotometryTransfo.
Definition at line 97 of file PhotometryTransfo.h.
|
inlineoverridevirtual |
Get a copy of the parameters of this model, in the same order as offsetParams
.
Implements lsst::jointcal::PhotometryTransfo.
Definition at line 115 of file PhotometryTransfo.h.
|
inlineoverridevirtual |
Offset the parameters by some (negative) amount during fitting.
Equivalent to flatten(parameters) -= delta
Ordering of delta is the same as the ordering of the derivatives returned from computeParameterDerivatives
.
Implements lsst::jointcal::PhotometryTransfo.
Definition at line 100 of file PhotometryTransfo.h.
|
inlineprotected |
Definition at line 122 of file PhotometryTransfo.h.
|
inlineinherited |
Return the transformed instFlux at (x,y).
Definition at line 39 of file PhotometryTransfo.h.
|
inlineoverridevirtual |
Apply the transform to instFlux at (x,y), put result in flux.
Implements lsst::jointcal::PhotometryTransfo.
Definition at line 91 of file PhotometryTransfo.h.
|
friend |
Definition at line 124 of file PhotometryTransfo.h.