lsst.jointcal  master-gc935ebf72c+13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Public Member Functions | List of all members
lsst::jointcal::SimplePhotometryModel Class Reference

Photometric response model which has a single photometric factor per CcdImage. More...

#include <SimplePhotometryModel.h>

Inheritance diagram for lsst::jointcal::SimplePhotometryModel:
lsst::jointcal::PhotometryModel

Public Member Functions

 SimplePhotometryModel (const CcdImageList &ccdImageList)
 
unsigned assignIndices (const std::string &whatToFit, unsigned firstIndex)
 Assign indices to parameters involved in mappings, starting at firstIndex. More...
 
void offsetParams (const Eigen::VectorXd &delta)
 Offset the parameters by the provided amounts. More...
 
double photomFactor (const CcdImage &ccdImage, const Point &where=Point()) const
 Return the "photometric factor" for this ccdImage. More...
 
void getIndicesAndDerivatives (const MeasuredStar &measuredStar, const CcdImage &ccdImage, std::vector< unsigned > &indices, Eigen::VectorXd &D)
 number of parameters to be read in indices.size() More...
 
- Public Member Functions inherited from lsst::jointcal::PhotometryModel
virtual ~PhotometryModel ()
 

Detailed Description

Photometric response model which has a single photometric factor per CcdImage.

It considers a full exposure as reference.

Definition at line 19 of file SimplePhotometryModel.h.

Constructor & Destructor Documentation

lsst::jointcal::SimplePhotometryModel::SimplePhotometryModel ( const CcdImageList ccdImageList)

Definition at line 15 of file SimplePhotometryModel.cc.

Member Function Documentation

unsigned lsst::jointcal::SimplePhotometryModel::assignIndices ( const std::string &  whatToFit,
unsigned  firstIndex 
)
virtual

Assign indices to parameters involved in mappings, starting at firstIndex.

Parameters
[in]whatToFitIgnored.
[in]firstIndexIndex to start assigning at.
Returns
The highest assigned index.

Implements lsst::jointcal::PhotometryModel.

Definition at line 28 of file SimplePhotometryModel.cc.

void lsst::jointcal::SimplePhotometryModel::getIndicesAndDerivatives ( const MeasuredStar measuredStar,
const CcdImage ccdImage,
std::vector< unsigned > &  indices,
Eigen::VectorXd &  D 
)
virtual

number of parameters to be read in indices.size()

Implements lsst::jointcal::PhotometryModel.

Definition at line 67 of file SimplePhotometryModel.cc.

void lsst::jointcal::SimplePhotometryModel::offsetParams ( const Eigen::VectorXd &  delta)
virtual

Offset the parameters by the provided amounts.

The shifts are applied according to the indices given in AssignIndices.a

Parameters
[in]deltavector of offsets to apply

Implements lsst::jointcal::PhotometryModel.

Definition at line 39 of file SimplePhotometryModel.cc.

double lsst::jointcal::SimplePhotometryModel::photomFactor ( const CcdImage ccdImage,
const Point where = Point() 
) const
virtual

Return the "photometric factor" for this ccdImage.

Multiply this by a Calib's flux/magnitude zero-point to get the updated fluxMag0.

Parameters
[in]ccdImageThe ccdImage to get the photometric factor for.
[in]whereIgnored
Returns
The photometric factor at the given location on ccdImage.

Implements lsst::jointcal::PhotometryModel.

Definition at line 62 of file SimplePhotometryModel.cc.


The documentation for this class was generated from the following files: