File MeasuredStar.h

namespace lsst

Class for a simple mapping implementing a generic AstrometryTransform.

Remove all non-astronomical counts from the Chunk Exposure’s pixels.

Forward declarations for lsst::utils::Cache

For details on the Cache class, see the Cache.h file.

It uses a template rather than a pointer so that the derived classes can use the specifics of the transform. The class simplePolyMapping overloads a few routines.

A base class for image defects

Numeric constants used by the Integrate.h integrator routines.

Compute Image Statistics

Note

Gauss-Kronrod-Patterson quadrature coefficients for use in quadpack routine qng. These coefficients were calculated with 101 decimal digit arithmetic by L. W. Fullerton, Bell Labs, Nov 1981.

Note

The Statistics class itself can only handle lsst::afw::image::MaskedImage() types. The philosophy has been to handle other types by making them look like lsst::afw::image::MaskedImage() and reusing that code. Users should have no need to instantiate a Statistics object directly, but should use the overloaded makeStatistics() factory functions.

namespace jointcal

Typedefs

typedef MeasuredStarList::const_iterator MeasuredStarCIterator
typedef MeasuredStarList::iterator MeasuredStarIterator

Functions

BaseStarList &Measured2Base(MeasuredStarList &This)
BaseStarList *Measured2Base(MeasuredStarList *This)
const BaseStarList &Measured2Base(const MeasuredStarList &This)
const BaseStarList *Measured2Base(const MeasuredStarList *This)
class MeasuredStar : public lsst::jointcal::BaseStar
#include <MeasuredStar.h>

objects measured on actual images. Coordinates and uncertainties are expressed in pixel image frame. Flux expressed in ADU/s.

Public Functions

MeasuredStar()
MeasuredStar(BaseStar const &baseStar)
MeasuredStar(MeasuredStar const&)

No move, allow copy constructor: we may copy the fitted StarLists when associating and matching catalogs, otherwise Stars should be managed by shared_ptr only.

MeasuredStar(MeasuredStar&&)
MeasuredStar &operator=(MeasuredStar const&)
MeasuredStar &operator=(MeasuredStar&&)
void setFittedStar(std::shared_ptr<FittedStar> fittedStar)
void dump(std::ostream &s = std::cout) const

utility

void setInstFluxAndErr(double instFlux, double instFluxErr)
double getInstFlux() const
double getInstFluxErr() const
double getInstMag() const
double getInstMagErr() const
void setId(afw::table::RecordId id)
afw::table::RecordId getId()
double getMagWeight() const

the inverse of the mag variance

double getXFocal() const
void setXFocal(double xFocal)
double getYFocal() const
void setYFocal(double yFocal)
std::shared_ptr<FittedStar> getFittedStar() const
CcdImage const &getCcdImage() const
void setCcdImage(const CcdImage *ccdImage)
bool isValid() const

Fits may use that to discard outliers.

void setValid(bool v)

Fits may use that to discard outliers.

Private Members

afw::table::RecordId _id
double _instFlux
double _instFluxErr
const CcdImage *_ccdImage
std::shared_ptr<FittedStar> _fittedStar
bool _valid
double _xFocal
double _yFocal
double _instMag
double _instMagErr
class MeasuredStarList : public lsst::jointcal::StarList<MeasuredStar>
#include <MeasuredStar.h>

A list of MeasuredStar. They are usually filled in Associations::createCcdImage.

Public Functions

MeasuredStarList()
void setCcdImage(const CcdImage *_ccdImage)