Class ConstrainedFluxModel¶
Defined in File ConstrainedPhotometryModel.h
Inheritance Relationships¶
Base Type¶
public lsst::jointcal::ConstrainedPhotometryModel
(Class ConstrainedPhotometryModel)
Class Documentation¶
-
class
ConstrainedFluxModel
: public lsst::jointcal::ConstrainedPhotometryModel¶ Public Functions
-
ConstrainedFluxModel
(CcdImageList const &ccdImageList, geom::Box2D const &focalPlaneBBox, int visitOrder = 7, double errorPedestal_ = 0)¶
-
void
offsetFittedStar
(FittedStar &fittedStar, double delta) const¶ Offset the appropriate flux or magnitude (by -delta).
- Parameters
fittedStar
: The star to update.delta
: The amount to update by.
-
double
computeResidual
(CcdImage const &ccdImage, MeasuredStar const &measuredStar) const¶ Compute the residual between the model applied to a star and its associated fittedStar.
\[ residual = Model(measuredStar) - fittedStar \]- Return
The residual.
- Parameters
ccdImage
: The ccdImage where measuredStar resides.measuredStar
: The measured star position to compute the residual of.
-
double
computeRefResidual
(FittedStar const &fittedStar, RefStar const &refStar) const¶ Return the fittedStar - refStar residual appropriate for this model (e.g. flux - flux or mag - mag).
-
double
getRefError
(RefStar const &refStar) const¶ Return the refStar error appropriate for this model (e.g. fluxErr or magErr).
-
double
transform
(CcdImage const &ccdImage, MeasuredStar const &measuredStar) const¶ Return the on-sky transformed flux for measuredStar on ccdImage.
- Return
The on-sky flux transformed from instFlux at measuredStar’s position.
- Parameters
[in] ccdImage
: The ccdImage where measuredStar resides.measuredStar
: The measured star position to transform.
-
double
transformError
(CcdImage const &ccdImage, MeasuredStar const &measuredStar) const¶ Return the on-sky transformed flux uncertainty for measuredStar on ccdImage. Identical to transform() until freezeErrorTransform() is called.
- Return
The on-sky flux transformed from instFlux at measuredStar’s position.
- Parameters
[in] ccdImage
: The ccdImage where measuredStar resides.measuredStar
: The measured star position to transform.
-
std::shared_ptr<afw::image::PhotoCalib>
toPhotoCalib
(CcdImage const &ccdImage) const¶ Return the mapping of ccdImage represented as a PhotoCalib.
Protected Functions
Return the initial calibration to use from this photoCalib.
-