lsst.jointcal
master-g9041cab851+10
|
#include <PhotometryTransfo.h>
Public Member Functions | |
virtual double | apply (double x, double y, double instFlux) const =0 |
Apply the transform to instFlux at (x,y), put result in flux. More... | |
double | apply (Point const &in, double instFlux) const |
virtual void | dump (std::ostream &stream=std::cout) const =0 |
dumps the transfo coefficients to stream. More... | |
std::string | __str__ () const |
Return a string describing this transfo. For the pybind11/python layer. More... | |
virtual int | getNpar () const |
Return the number of parameters (used to compute chisq) More... | |
virtual void | offsetParams (double const *delta)=0 |
Offset the parameters by some amount during fitting. More... | |
virtual std::unique_ptr < PhotometryTransfo > | clone () const =0 |
return a copy (allocated by new) of the transformation. More... | |
void | computeDerivative (Point const &where, PhotometryTransfoSpatiallyInvariant &derivative, const double step=0.01) const |
Definition at line 28 of file PhotometryTransfo.h.
|
inline |
Return a string describing this transfo. For the pybind11/python layer.
Definition at line 39 of file PhotometryTransfo.h.
|
pure virtual |
Apply the transform to instFlux at (x,y), put result in flux.
Implemented in lsst::jointcal::PhotometryTransfoSpatiallyInvariant.
|
inline |
Definition at line 33 of file PhotometryTransfo.h.
|
pure virtual |
return a copy (allocated by new) of the transformation.
Implemented in lsst::jointcal::PhotometryTransfoSpatiallyInvariant.
void lsst::jointcal::PhotometryTransfo::computeDerivative | ( | Point const & | where, |
PhotometryTransfoSpatiallyInvariant & | derivative, | ||
const double | step = 0.01 |
||
) | const |
|
pure virtual |
dumps the transfo coefficients to stream.
Implemented in lsst::jointcal::PhotometryTransfoSpatiallyInvariant.
|
inlinevirtual |
Return the number of parameters (used to compute chisq)
Reimplemented in lsst::jointcal::PhotometryTransfoSpatiallyInvariant.
Definition at line 46 of file PhotometryTransfo.h.
|
pure virtual |
Offset the parameters by some amount during fitting.
Implemented in lsst::jointcal::PhotometryTransfoSpatiallyInvariant.