4 #include "lsst/log/Log.h"
12 LOG_LOGGER _log = LOG_GET(
"jointcal.FastFinder");
21 _mag(measuredStar.getMag()),
25 _wmag(measuredStar.getMagWeight()),
31 _fluxErr = measuredStar.
eflux;
35 if ((_refStar !=
nullptr) && (refStar !=
nullptr)) {
38 "FittedStar: " << *
this <<
" is already matched to another RefStar. Clean up your lists.");
39 LOGLS_WARN(_log,
"old refStar: " << *_refStar);
40 LOGLS_WARN(_log,
"new refStar: " << *refStar);
46 _mag = (_mag * _wmag + magValue * magWeight) / (_wmag + magWeight);
Objects used as position anchors, typically USNO stars.
void addMagMeasurement(double magValue, double magWeight)
this routine will hopefully soon disappear.
The base class for handling stars. Used by all matching routines.
void setRefStar(const RefStar *_refStar)
Set the astrometric reference star associated with this star.
A list of FittedStar s. Such a list is typically constructed by Associations.
objects measured on actual images.
BaseStarList & Fitted2Base(FittedStarList &This)