lsst.jointcal
14.0
|
#include <PhotometryMapping.h>
Public Member Functions | |
PhotometryMapping (PhotometryTransfo const &_transfo) | |
PhotometryMapping (PhotometryMapping const &)=delete | |
No copy or move: there is only ever one instance of a given mapping (i.e. per ccd+visit) More... | |
PhotometryMapping (PhotometryMapping &&)=delete | |
PhotometryMapping & | operator= (PhotometryMapping const &)=delete |
PhotometryMapping & | operator= (PhotometryMapping &&)=delete |
unsigned | getNpar () const |
Number of total parameters in this mapping. More... | |
void | setMappingIndices (std::vector< unsigned > &indices) const |
void | computeTransformAndDerivatives (Point const &where, double &out, Eigen::MatrixX2d &H) const |
Applies the mapping and evaluates the derivatives with respect to the fitted parameters. More... | |
void | transformPosAndErrors (Point const &where, double &out) const |
The same as above but without the parameter derivatives (used to evaluate chi^2) More... | |
void | offsetParams (const double *delta) |
unsigned | getIndex () |
Get the index of this mapping in the grand fit. More... | |
void | setIndex (unsigned i) |
Set the index of this mapping in the grand fit. More... | |
PhotometryTransfo const & | getTransfo () |
Protected Attributes | |
unsigned | index |
std::shared_ptr < PhotometryTransfo > | transfo |
Definition at line 16 of file PhotometryMapping.h.
|
inlineexplicit |
Definition at line 18 of file PhotometryMapping.h.
|
delete |
No copy or move: there is only ever one instance of a given mapping (i.e. per ccd+visit)
|
delete |
void lsst::jointcal::PhotometryMapping::computeTransformAndDerivatives | ( | Point const & | where, |
double & | out, | ||
Eigen::MatrixX2d & | H | ||
) | const |
Applies the mapping and evaluates the derivatives with respect to the fitted parameters.
This is grouped into a single call because for most models, evaluating the derivatives w.r.t parameters is not much longer than just transforming.
|
inline |
Get the index of this mapping in the grand fit.
Definition at line 54 of file PhotometryMapping.h.
|
inline |
Number of total parameters in this mapping.
Definition at line 27 of file PhotometryMapping.h.
|
inline |
Definition at line 59 of file PhotometryMapping.h.
|
inline |
Definition at line 51 of file PhotometryMapping.h.
|
delete |
|
delete |
|
inline |
Set the index of this mapping in the grand fit.
Definition at line 57 of file PhotometryMapping.h.
|
inline |
Definition at line 33 of file PhotometryMapping.h.
void lsst::jointcal::PhotometryMapping::transformPosAndErrors | ( | Point const & | where, |
double & | out | ||
) | const |
The same as above but without the parameter derivatives (used to evaluate chi^2)
|
protected |
Definition at line 63 of file PhotometryMapping.h.
|
protected |
Definition at line 66 of file PhotometryMapping.h.