Photometric response model which has a single photometric factor per CcdImage.
More...
#include <SimplePhotometryModel.h>
Photometric response model which has a single photometric factor per CcdImage.
It considers a full exposure as reference.
Definition at line 21 of file SimplePhotometryModel.h.
◆ SimplePhotometryModel() [1/3]
lsst::jointcal::SimplePhotometryModel::SimplePhotometryModel |
( |
CcdImageList const & |
ccdImageList | ) |
|
◆ SimplePhotometryModel() [2/3]
No copy or move: there is only ever one instance of a given model (i.e. per ccd+visit)
◆ SimplePhotometryModel() [3/3]
◆ assignIndices()
unsigned lsst::jointcal::SimplePhotometryModel::assignIndices |
( |
std::string const & |
whatToFit, |
|
|
unsigned |
firstIndex |
|
) |
| |
|
overridevirtual |
Assign indices to parameters involved in mappings, starting at firstIndex.
- Parameters
-
[in] | whatToFit | Ignored. |
[in] | firstIndex | Index to start assigning at. |
- Returns
- The highest assigned index.
Implements lsst::jointcal::PhotometryModel.
Definition at line 25 of file SimplePhotometryModel.cc.
◆ computeParameterDerivatives()
void lsst::jointcal::SimplePhotometryModel::computeParameterDerivatives |
( |
MeasuredStar const & |
measuredStar, |
|
|
CcdImage const & |
ccdImage, |
|
|
Eigen::VectorXd & |
derivatives |
|
) |
| |
|
overridevirtual |
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. |
Implements lsst::jointcal::PhotometryModel.
Definition at line 53 of file SimplePhotometryModel.cc.
◆ getMappingIndices()
void lsst::jointcal::SimplePhotometryModel::getMappingIndices |
( |
CcdImage const & |
ccdImage, |
|
|
std::vector< unsigned > & |
indices |
|
) |
| |
|
overridevirtual |
Get how this set of parameters (of length Npar()) map into the "grand" fit.
- Parameters
-
[in] | ccdImage | The ccdImage to find the mapping of. |
[out] | indices | The indices of the mapping associated with ccdImage. |
Implements lsst::jointcal::PhotometryModel.
Definition at line 47 of file SimplePhotometryModel.cc.
◆ offsetParams()
void lsst::jointcal::SimplePhotometryModel::offsetParams |
( |
Eigen::VectorXd const & |
delta | ) |
|
|
overridevirtual |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ photomFactor()
double lsst::jointcal::SimplePhotometryModel::photomFactor |
( |
CcdImage const & |
ccdImage, |
|
|
Point const & |
where = Point() |
|
) |
| const |
|
overridevirtual |
Return the "photometric factor" for this ccdImage.
Multiply this by a Calib's flux/magnitude zero-point to get the updated fluxMag0.
- Parameters
-
[in] | ccdImage | The ccdImage to get the photometric factor for. |
[in] | where | Ignored |
- Returns
- The photometric factor at the given location on ccdImage.
Implements lsst::jointcal::PhotometryModel.
Definition at line 42 of file SimplePhotometryModel.cc.
The documentation for this class was generated from the following files: