Relates transfo(s) to their position in the fitting matrix and allows interaction with the transfo(s).
More...
#include <PhotometryMapping.h>
Relates transfo(s) to their position in the fitting matrix and allows interaction with the transfo(s).
Definition at line 21 of file PhotometryMapping.h.
◆ PhotometryMappingBase() [1/3]
lsst::jointcal::PhotometryMappingBase::PhotometryMappingBase |
( |
| ) |
|
|
inline |
◆ ~PhotometryMappingBase()
virtual lsst::jointcal::PhotometryMappingBase::~PhotometryMappingBase |
( |
| ) |
|
|
inlinevirtual |
◆ PhotometryMappingBase() [2/3]
No copy or move: there is only ever one instance of a given mapping (i.e. per ccd+visit)
◆ PhotometryMappingBase() [3/3]
◆ computeParameterDerivatives()
virtual void lsst::jointcal::PhotometryMappingBase::computeParameterDerivatives |
( |
MeasuredStar const & |
measuredStar, |
|
|
double |
instFlux, |
|
|
Eigen::Ref< Eigen::VectorXd > |
derivatives |
|
) |
| const |
|
pure virtual |
Compute the derivatives with respect to the parameters (i.e.
the coefficients).
- Parameters
-
[in] | measuredStar | The measured star position to transform. |
[in] | instFlux | The instrument flux to compute the derivative at. |
[out] | derivatives | The computed derivatives, in the same order as the deltas in offsetParams. |
Implemented in lsst::jointcal::ChipVisitPhotometryMapping, and lsst::jointcal::PhotometryMapping.
◆ dump()
◆ freezeErrorTransform()
virtual void lsst::jointcal::PhotometryMappingBase::freezeErrorTransform |
( |
| ) |
|
|
pure virtual |
Once this routine has been called, the error transform is not modified by offsetParams().
The routine can be called when the mappings are roughly in place. After the call, the transformations used to propagate errors are no longer affected when updating the mappings. This allows an exactly linear fit, which can be necessary for some model+data combinations.
Implemented in lsst::jointcal::ChipVisitPhotometryMapping, and lsst::jointcal::PhotometryMapping.
◆ getIndex()
unsigned lsst::jointcal::PhotometryMappingBase::getIndex |
( |
| ) |
|
|
inline |
◆ getMappingIndices()
virtual void lsst::jointcal::PhotometryMappingBase::getMappingIndices |
( |
std::vector< unsigned > & |
indices | ) |
const |
|
pure virtual |
◆ getNpar()
virtual unsigned lsst::jointcal::PhotometryMappingBase::getNpar |
( |
| ) |
const |
|
pure virtual |
◆ getParameters()
virtual Eigen::VectorXd lsst::jointcal::PhotometryMappingBase::getParameters |
( |
| ) |
|
|
pure virtual |
◆ isFixed()
bool lsst::jointcal::PhotometryMappingBase::isFixed |
( |
| ) |
|
|
inline |
◆ offsetParams()
virtual void lsst::jointcal::PhotometryMappingBase::offsetParams |
( |
Eigen::VectorXd const & |
delta | ) |
|
|
pure virtual |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ setFixed()
void lsst::jointcal::PhotometryMappingBase::setFixed |
( |
bool |
_fixed | ) |
|
|
inline |
Make this mapping's parameters fixed (i.e. not varied during fitting).
Definition at line 84 of file PhotometryMapping.h.
◆ setIndex()
void lsst::jointcal::PhotometryMappingBase::setIndex |
( |
unsigned |
i | ) |
|
|
inline |
◆ transform()
virtual double lsst::jointcal::PhotometryMappingBase::transform |
( |
MeasuredStar const & |
measuredStar, |
|
|
double |
instFlux |
|
) |
| const |
|
pure virtual |
◆ transformError()
virtual double lsst::jointcal::PhotometryMappingBase::transformError |
( |
MeasuredStar const & |
measuredStar, |
|
|
double |
instFluxErr |
|
) |
| const |
|
pure virtual |
◆ fixed
bool lsst::jointcal::PhotometryMappingBase::fixed |
|
protected |
◆ index
unsigned lsst::jointcal::PhotometryMappingBase::index |
|
protected |
The documentation for this class was generated from the following file: