25 #ifndef LSST_JOINTCAL_FITTED_STAR_H
26 #define LSST_JOINTCAL_FITTED_STAR_H
41 class AstrometryTransform;
55 :
BaseStar(baseStar), _indexInMatrix(0), _measurementCount(0), _refStar(nullptr) {}
70 _measurementCount = 0;
81 stream <<
" mcount: " << _measurementCount;
104 Eigen::Index _indexInMatrix;
105 int _measurementCount;
The base class for handling stars. Used by all matching routines.
virtual void print(std::ostream &out) const
FittedStars are objects whose position or flux is going to be fitted, and which come from the associa...
const RefStar * getRefStar() const
Get the astrometric reference star associated with this star.
FittedStar & operator=(FittedStar const &)=delete
FittedStar(const BaseStar &baseStar)
void setIndexInMatrix(Eigen::Index const index)
index is a value that a fit can set and reread....
int & getMeasurementCount()
void print(std::ostream &stream=std::cout) const
int getMeasurementCount() const
FittedStar & operator=(FittedStar &&)=delete
void addMagMeasurement(double magValue, double magWeight)
Add a measuredStar on-sky magnitude.
FittedStar(FittedStar const &)=default
No move, allow copy constructor: we may copy the fitted StarLists when associating and matching catal...
void setRefStar(const RefStar *_refStar)
Set the astrometric reference star associated with this star.
FittedStar(FittedStar &&)=delete
Eigen::Index getIndexInMatrix() const
A list of FittedStar s. Such a list is typically constructed by Associations.
bool inTangentPlaneCoordinates
Sources measured on images.
Objects used as position/flux anchors (e.g.
BaseStarList & Fitted2Base(FittedStarList &This)
FittedStarList::const_iterator FittedStarCIterator
FittedStarList::iterator FittedStarIterator
Class for a simple mapping implementing a generic AstrometryTransform.