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 218 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 |
◆ 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 239 of file PhotometryMapping.h.
◆ getChipMapping()
◆ getIndex()
Eigen::Index lsst::jointcal::PhotometryMappingBase::getIndex |
( |
| ) |
|
|
inlineinherited |
◆ getMappingIndices()
void lsst::jointcal::ChipVisitPhotometryMapping::getMappingIndices |
( |
IndexVector & |
indices | ) |
const |
|
overridevirtual |
◆ getNpar()
std::size_t lsst::jointcal::ChipVisitPhotometryMapping::getNpar |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getNParChip()
std::size_t lsst::jointcal::ChipVisitPhotometryMapping::getNParChip |
( |
| ) |
const |
|
inline |
◆ getNParVisit()
std::size_t lsst::jointcal::ChipVisitPhotometryMapping::getNParVisit |
( |
| ) |
const |
|
inline |
◆ getParameters()
Eigen::VectorXd lsst::jointcal::ChipVisitPhotometryMapping::getParameters |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getVisitMapping()
◆ isFixed()
bool lsst::jointcal::PhotometryMappingBase::isFixed |
( |
| ) |
|
|
inlineinherited |
◆ print()
void lsst::jointcal::ChipVisitPhotometryMapping::print |
( |
std::ostream & |
out | ) |
const |
|
inlineoverridevirtual |
Print a string representation of the contents of this mapping, for debugging.
This string representation can be very verbose, as it contains all of the parameters of all of the transforms in this mapping.
Implements lsst::jointcal::PhotometryMappingBase.
Definition at line 266 of file PhotometryMapping.h.
268 out <<
"chip mapping: ";
◆ 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 |
( |
Eigen::Index |
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 232 of file PhotometryMapping.h.
233 double temp =
_chipMapping->getTransform()->transform(measuredStar.x, measuredStar.y, value);
234 return _visitMapping->getTransform()->transform(measuredStar.getXFocal(), measuredStar.getYFocal(),
◆ transformError()
virtual double lsst::jointcal::PhotometryMappingBase::transformError |
( |
MeasuredStar const & |
measuredStar, |
|
|
double |
value, |
|
|
double |
valueErr |
|
) |
| const |
|
pure virtualinherited |
◆ _chipMapping
◆ _nParChip
std::size_t lsst::jointcal::ChipVisitPhotometryMapping::_nParChip |
|
protected |
◆ _nParVisit
std::size_t lsst::jointcal::ChipVisitPhotometryMapping::_nParVisit |
|
protected |
◆ _visitMapping
◆ fixed
bool lsst::jointcal::PhotometryMappingBase::fixed |
|
protectedinherited |
◆ index
Eigen::Index lsst::jointcal::PhotometryMappingBase::index |
|
protectedinherited |
The documentation for this class was generated from the following files:
- /j/snowflake/release/lsstsw/stack/1a1d771/Linux64/jointcal/20.0.0/include/lsst/jointcal/PhotometryMapping.h
- /j/snowflake/release/lsstsw/stack/1a1d771/Linux64/jointcal/20.0.0/src/PhotometryMapping.cc