A two-level photometric transform: one for the ccd and one for the visit.
More...
#include <PhotometryMapping.h>
A two-level photometric transform: one for the ccd and one for the visit.
Definition at line 213 of file PhotometryMapping.h.
◆ ChipVisitPhotometryMapping()
◆ computeParameterDerivatives()
virtual void lsst::jointcal::PhotometryMappingBase::computeParameterDerivatives |
( |
MeasuredStar const & |
measuredStar, |
|
|
double |
value, |
|
|
Eigen::Ref< Eigen::VectorXd > |
derivatives |
|
) |
| const |
|
pure virtualinherited |
◆ dump()
◆ freezeErrorTransform()
void lsst::jointcal::ChipVisitPhotometryMapping::freezeErrorTransform |
( |
| ) |
|
|
inlineoverridevirtual |
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.
Implements lsst::jointcal::PhotometryMappingBase.
Definition at line 234 of file PhotometryMapping.h.
◆ getChipMapping()
◆ getIndex()
unsigned lsst::jointcal::PhotometryMappingBase::getIndex |
( |
| ) |
|
|
inlineinherited |
◆ getMappingIndices()
void lsst::jointcal::ChipVisitPhotometryMapping::getMappingIndices |
( |
std::vector< unsigned > & |
indices | ) |
const |
|
overridevirtual |
◆ getNpar()
unsigned lsst::jointcal::ChipVisitPhotometryMapping::getNpar |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getNParChip()
unsigned lsst::jointcal::ChipVisitPhotometryMapping::getNParChip |
( |
| ) |
const |
|
inline |
◆ getNParVisit()
unsigned lsst::jointcal::ChipVisitPhotometryMapping::getNParVisit |
( |
| ) |
const |
|
inline |
◆ getParameters()
Eigen::VectorXd lsst::jointcal::ChipVisitPhotometryMapping::getParameters |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getVisitMapping()
◆ isFixed()
bool lsst::jointcal::PhotometryMappingBase::isFixed |
( |
| ) |
|
|
inlineinherited |
◆ setFixed()
void lsst::jointcal::PhotometryMappingBase::setFixed |
( |
bool |
_fixed | ) |
|
|
inlineinherited |
Make this mapping's parameters fixed (i.e. not varied during fitting).
Definition at line 100 of file PhotometryMapping.h.
◆ setIndex()
void lsst::jointcal::PhotometryMappingBase::setIndex |
( |
unsigned |
i | ) |
|
|
inlineinherited |
◆ setWhatToFit()
void lsst::jointcal::ChipVisitPhotometryMapping::setWhatToFit |
( |
bool const |
fittingChips, |
|
|
bool const |
fittingVisits |
|
) |
| |
Set whether to fit chips or visits.
This must be called before anything that depends on knowing the number of parameters in the fit, such as offsetParams(), getParameters(), or computeParameterDerivatives().
- Parameters
-
fittingChips | Fit the chip transform. |
fittingVisits | Fit the visit transform. |
Definition at line 58 of file PhotometryMapping.cc.
◆ transform()
double lsst::jointcal::ChipVisitPhotometryMapping::transform |
( |
MeasuredStar const & |
measuredStar, |
|
|
double |
value |
|
) |
| const |
|
inlineoverridevirtual |
Return the on-sky transformed flux for measuredStar on ccdImage.
- Parameters
-
[in] | measuredStar | The measured star position to transform. |
[in] | value | The instrument flux or magnitude to transform. |
- Returns
- The on-sky value () transformed from value at measuredStar's position.
Implements lsst::jointcal::PhotometryMappingBase.
Definition at line 227 of file PhotometryMapping.h.
◆ transformError()
virtual double lsst::jointcal::PhotometryMappingBase::transformError |
( |
MeasuredStar const & |
measuredStar, |
|
|
double |
value, |
|
|
double |
valueErr |
|
) |
| const |
|
pure virtualinherited |
◆ _chipMapping
◆ _nParChip
unsigned lsst::jointcal::ChipVisitPhotometryMapping::_nParChip |
|
protected |
◆ _nParVisit
unsigned lsst::jointcal::ChipVisitPhotometryMapping::_nParVisit |
|
protected |
◆ _visitMapping
◆ fixed
bool lsst::jointcal::PhotometryMappingBase::fixed |
|
protectedinherited |
◆ index
unsigned lsst::jointcal::PhotometryMappingBase::index |
|
protectedinherited |
The documentation for this class was generated from the following files: