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.
Definition at line 20 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 | String containing parameters to fit. |
[in] | firstIndex | Index to start assigning at. |
- Returns
- The highest assigned index.
Implements lsst::jointcal::PhotometryModel.
Definition at line 30 of file SimplePhotometryModel.cc.
◆ computeParameterDerivatives()
void lsst::jointcal::SimplePhotometryModel::computeParameterDerivatives |
( |
MeasuredStar const & |
measuredStar, |
|
|
CcdImage const & |
ccdImage, |
|
|
Eigen::VectorXd & |
derivatives |
|
) |
| const |
|
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 60 of file SimplePhotometryModel.cc.
◆ dump()
◆ getMapping()
◆ getMappingIndices()
void lsst::jointcal::SimplePhotometryModel::getMappingIndices |
( |
CcdImage const & |
ccdImage, |
|
|
std::vector< unsigned > & |
indices |
|
) |
| const |
|
overridevirtual |
◆ getNpar()
unsigned lsst::jointcal::PhotometryModel::getNpar |
( |
CcdImage const & |
ccdImage | ) |
const |
|
inlineinherited |
◆ offsetParams()
void lsst::jointcal::SimplePhotometryModel::offsetParams |
( |
Eigen::VectorXd const & |
delta | ) |
|
|
overridevirtual |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ toPhotoCalib()
◆ transform()
double lsst::jointcal::SimplePhotometryModel::transform |
( |
CcdImage const & |
ccdImage, |
|
|
MeasuredStar const & |
star, |
|
|
double |
instFlux |
|
) |
| const |
|
overridevirtual |
Return the on-sky transformed flux for measuredStar on ccdImage.
- Parameters
-
[in] | ccdImage | The ccdImage where measuredStar resides. |
| measuredStar | The measured star position to compute the transform at. |
[in] | instFlux | The instrument flux to transform. |
- Returns
- The on-sky flux transformed from instFlux at measuredStar's position.
Implements lsst::jointcal::PhotometryModel.
Definition at line 47 of file SimplePhotometryModel.cc.
The documentation for this class was generated from the following files: