Interface class for PhotometryFit.
More...
#include <PhotometryModel.h>
Interface class for PhotometryFit.
Definition at line 19 of file PhotometryModel.h.
virtual lsst::jointcal::PhotometryModel::~PhotometryModel |
( |
| ) |
|
|
inlinevirtual |
virtual unsigned lsst::jointcal::PhotometryModel::assignIndices |
( |
std::string const & |
whatToFit, |
|
|
unsigned |
firstIndex |
|
) |
| |
|
pure virtual |
virtual void lsst::jointcal::PhotometryModel::computeParameterDerivatives |
( |
MeasuredStar const & |
measuredStar, |
|
|
CcdImage const & |
ccdImage, |
|
|
Eigen::VectorXd & |
derivatives |
|
) |
| |
|
pure virtual |
Compute the parametric derivatives of this model.
- Parameters
-
[in] | measuredStar | The measured star with the position and flux to compute at. |
[in] | ccdImage | The ccdImage containing the measured star, to find the correct mapping. |
[out] | derivatives | The computed derivatives. Must be pre-allocated to the correct size. |
Implemented in lsst::jointcal::SimplePhotometryModel, and lsst::jointcal::ConstrainedPhotometryModel.
virtual PhotometryMapping* lsst::jointcal::PhotometryModel::findMapping |
( |
CcdImage const & |
ccdImage, |
|
|
std::string |
name |
|
) |
| const |
|
protectedpure virtual |
Return a pointer to the mapping associated with this ccdImage. name is for describing error messages.
virtual void lsst::jointcal::PhotometryModel::getMappingIndices |
( |
CcdImage const & |
ccdImage, |
|
|
std::vector< unsigned > & |
indices |
|
) |
| |
|
pure virtual |
virtual void lsst::jointcal::PhotometryModel::offsetParams |
( |
Eigen::VectorXd const & |
delta | ) |
|
|
pure virtual |
virtual double lsst::jointcal::PhotometryModel::photomFactor |
( |
CcdImage const & |
ccdImage, |
|
|
Point const & |
where |
|
) |
| const |
|
pure virtual |
Return the "photometric factor" at a given location on a ccdImage.
Multiply this by a Calib's flux/magnitude zero-point to get the updated fluxMag0 at that point.
- Parameters
-
[in] | ccdImage | The ccdImage to get the photometric factor for. |
[in] | where | Possition on ccdImage in ccd coordinates. |
- Returns
- The photometric factor at the given location on ccdImage.
Implemented in lsst::jointcal::SimplePhotometryModel, and lsst::jointcal::ConstrainedPhotometryModel.
The documentation for this class was generated from the following file: