#include <ConstrainedPhotometryModel.h>
◆ ConstrainedPhotometryModel() [1/3]
lsst::jointcal::ConstrainedPhotometryModel::ConstrainedPhotometryModel |
( |
CcdImageList const & |
ccdImageList | ) |
|
|
inlineexplicit |
◆ ConstrainedPhotometryModel() [2/3]
No copy or move: there is only ever one instance of a given model (i.e. per ccd+visit)
◆ ConstrainedPhotometryModel() [3/3]
◆ assignIndices()
unsigned lsst::jointcal::ConstrainedPhotometryModel::assignIndices |
( |
std::string const & |
whatToFit, |
|
|
unsigned |
firstIndex |
|
) |
| |
|
inlineoverridevirtual |
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 29 of file ConstrainedPhotometryModel.h.
◆ computeParameterDerivatives()
void lsst::jointcal::ConstrainedPhotometryModel::computeParameterDerivatives |
( |
MeasuredStar const & |
measuredStar, |
|
|
CcdImage const & |
ccdImage, |
|
|
Eigen::VectorXd & |
derivatives |
|
) |
| |
|
inlineoverridevirtual |
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 41 of file ConstrainedPhotometryModel.h.
◆ getMappingIndices()
void lsst::jointcal::ConstrainedPhotometryModel::getMappingIndices |
( |
CcdImage const & |
ccdImage, |
|
|
std::vector< unsigned > & |
indices |
|
) |
| |
|
inlineoverridevirtual |
◆ offsetParams()
void lsst::jointcal::ConstrainedPhotometryModel::offsetParams |
( |
Eigen::VectorXd const & |
delta | ) |
|
|
inlineoverridevirtual |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ photomFactor()
double lsst::jointcal::ConstrainedPhotometryModel::photomFactor |
( |
CcdImage const & |
ccdImage, |
|
|
Point const & |
where |
|
) |
| const |
|
inlineoverridevirtual |
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.
Implements lsst::jointcal::PhotometryModel.
Definition at line 37 of file ConstrainedPhotometryModel.h.
The documentation for this class was generated from the following file: