lsst.jointcal  16.0-15-g8e16a51+14
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes | List of all members
lsst::jointcal::MeasuredStar Class Reference

objects measured on actual images. More...

#include <MeasuredStar.h>

Inheritance diagram for lsst::jointcal::MeasuredStar:
lsst::jointcal::BaseStar lsst::jointcal::FatPoint lsst::jointcal::Point

Public Member Functions

 MeasuredStar ()
 
 MeasuredStar (BaseStar const &baseStar)
 
 MeasuredStar (MeasuredStar const &)=default
 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. More...
 
 MeasuredStar (MeasuredStar &&)=delete
 
MeasuredStaroperator= (MeasuredStar const &)=delete
 
MeasuredStaroperator= (MeasuredStar &&)=delete
 
void setFittedStar (std::shared_ptr< FittedStar > fittedStar)
 
void dump (std::ostream &stream=std::cout) const
 utility More...
 
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 More...
 
double getXFocal () const
 
void setXFocal (double xFocal)
 
double getYFocal () const
 
void setYFocal (double yFocal)
 
std::shared_ptr< FittedStargetFittedStar () const
 
CcdImage const & getCcdImage () const
 
void setCcdImage (const CcdImage *ccdImage)
 
bool isValid () const
 Fits may use that to discard outliers. More...
 
void setValid (bool v)
 Fits may use that to discard outliers. More...
 
double getX () const
 access stuff. More...
 
double getY () const
 
double getFlux () const
 
double & getFlux ()
 
void setFlux (double flux)
 
double getFluxErr () const
 
void setFluxErr (double fluxErr)
 
double getMag () const
 
double & getMag ()
 
double getMagErr () const
 
void setMagErr (double magErr)
 
double Distance (const Point &other) const
 
double computeDist2 (const Point &other) const
 distance squared to other More...
 
Point operator+ (const Point &Right) const
 Sum. More...
 
Point operator- (const Point &Right) const
 Difference. More...
 

Static Public Member Functions

static const char * typeName ()
 

Public Attributes

double vx
 
double vy
 
double vxy
 
double x
 coordinate More...
 
double y
 

Protected Attributes

double _flux
 
double _fluxErr
 
double _mag
 
double _magErr
 

Detailed Description

objects measured on actual images.

Coordinates and uncertainties are expressed in pixel image frame. Flux expressed in ADU/s.

Definition at line 19 of file MeasuredStar.h.

Constructor & Destructor Documentation

◆ MeasuredStar() [1/4]

lsst::jointcal::MeasuredStar::MeasuredStar ( )
inline

Definition at line 21 of file MeasuredStar.h.

◆ MeasuredStar() [2/4]

lsst::jointcal::MeasuredStar::MeasuredStar ( BaseStar const &  baseStar)
inline

Definition at line 33 of file MeasuredStar.h.

◆ MeasuredStar() [3/4]

lsst::jointcal::MeasuredStar::MeasuredStar ( MeasuredStar const &  )
default

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() [4/4]

lsst::jointcal::MeasuredStar::MeasuredStar ( MeasuredStar &&  )
delete

Member Function Documentation

◆ computeDist2()

double lsst::jointcal::Point::computeDist2 ( const Point other) const
inlineinherited

distance squared to other

Definition at line 32 of file Point.h.

◆ Distance()

double lsst::jointcal::Point::Distance ( const Point other) const
inlineinherited

Definition at line 27 of file Point.h.

◆ dump()

void lsst::jointcal::MeasuredStar::dump ( std::ostream s = std::cout) const
inlinevirtual

utility

Reimplemented from lsst::jointcal::BaseStar.

Definition at line 56 of file MeasuredStar.h.

◆ getCcdImage()

CcdImage const& lsst::jointcal::MeasuredStar::getCcdImage ( ) const
inline

Definition at line 87 of file MeasuredStar.h.

◆ getFittedStar()

std::shared_ptr<FittedStar> lsst::jointcal::MeasuredStar::getFittedStar ( ) const
inline

Definition at line 85 of file MeasuredStar.h.

◆ getFlux() [1/2]

double lsst::jointcal::BaseStar::getFlux ( ) const
inlineinherited

Definition at line 73 of file BaseStar.h.

◆ getFlux() [2/2]

double& lsst::jointcal::BaseStar::getFlux ( )
inlineinherited

Definition at line 74 of file BaseStar.h.

◆ getFluxErr()

double lsst::jointcal::BaseStar::getFluxErr ( ) const
inlineinherited

Definition at line 77 of file BaseStar.h.

◆ getId()

afw::table::RecordId lsst::jointcal::MeasuredStar::getId ( )
inline

Definition at line 75 of file MeasuredStar.h.

◆ getInstFlux()

double lsst::jointcal::MeasuredStar::getInstFlux ( ) const
inline

Definition at line 69 of file MeasuredStar.h.

◆ getInstFluxErr()

double lsst::jointcal::MeasuredStar::getInstFluxErr ( ) const
inline

Definition at line 70 of file MeasuredStar.h.

◆ getInstMag()

double lsst::jointcal::MeasuredStar::getInstMag ( ) const
inline

Definition at line 71 of file MeasuredStar.h.

◆ getInstMagErr()

double lsst::jointcal::MeasuredStar::getInstMagErr ( ) const
inline

Definition at line 72 of file MeasuredStar.h.

◆ getMag() [1/2]

double lsst::jointcal::BaseStar::getMag ( ) const
inlineinherited

Definition at line 80 of file BaseStar.h.

◆ getMag() [2/2]

double& lsst::jointcal::BaseStar::getMag ( )
inlineinherited

Definition at line 81 of file BaseStar.h.

◆ getMagErr()

double lsst::jointcal::BaseStar::getMagErr ( ) const
inlineinherited

Definition at line 83 of file BaseStar.h.

◆ getMagWeight()

double lsst::jointcal::MeasuredStar::getMagWeight ( ) const
inline

the inverse of the mag variance

Definition at line 78 of file MeasuredStar.h.

◆ getX()

double lsst::jointcal::BaseStar::getX ( ) const
inlineinherited

access stuff.

Definition at line 49 of file BaseStar.h.

◆ getXFocal()

double lsst::jointcal::MeasuredStar::getXFocal ( ) const
inline

Definition at line 80 of file MeasuredStar.h.

◆ getY()

double lsst::jointcal::BaseStar::getY ( ) const
inlineinherited

Definition at line 51 of file BaseStar.h.

◆ getYFocal()

double lsst::jointcal::MeasuredStar::getYFocal ( ) const
inline

Definition at line 82 of file MeasuredStar.h.

◆ isValid()

bool lsst::jointcal::MeasuredStar::isValid ( ) const
inline

Fits may use that to discard outliers.

Definition at line 92 of file MeasuredStar.h.

◆ operator+()

Point lsst::jointcal::Point::operator+ ( const Point Right) const
inlineinherited

Sum.

Definition at line 37 of file Point.h.

◆ operator-()

Point lsst::jointcal::Point::operator- ( const Point Right) const
inlineinherited

Difference.

Definition at line 40 of file Point.h.

◆ operator=() [1/2]

MeasuredStar& lsst::jointcal::MeasuredStar::operator= ( MeasuredStar const &  )
delete

◆ operator=() [2/2]

MeasuredStar& lsst::jointcal::MeasuredStar::operator= ( MeasuredStar &&  )
delete

◆ setCcdImage()

void lsst::jointcal::MeasuredStar::setCcdImage ( const CcdImage ccdImage)
inline

Definition at line 89 of file MeasuredStar.h.

◆ setFittedStar()

void lsst::jointcal::MeasuredStar::setFittedStar ( std::shared_ptr< FittedStar fittedStar)
inline

Definition at line 51 of file MeasuredStar.h.

◆ setFlux()

void lsst::jointcal::BaseStar::setFlux ( double  flux)
inlineinherited

Definition at line 75 of file BaseStar.h.

◆ setFluxErr()

void lsst::jointcal::BaseStar::setFluxErr ( double  fluxErr)
inlineinherited

Definition at line 78 of file BaseStar.h.

◆ setId()

void lsst::jointcal::MeasuredStar::setId ( afw::table::RecordId  id)
inline

Definition at line 74 of file MeasuredStar.h.

◆ setInstFluxAndErr()

void lsst::jointcal::MeasuredStar::setInstFluxAndErr ( double  instFlux,
double  instFluxErr 
)
inline

Definition at line 62 of file MeasuredStar.h.

◆ setMagErr()

void lsst::jointcal::BaseStar::setMagErr ( double  magErr)
inlineinherited

Definition at line 84 of file BaseStar.h.

◆ setValid()

void lsst::jointcal::MeasuredStar::setValid ( bool  v)
inline

Fits may use that to discard outliers.

Definition at line 94 of file MeasuredStar.h.

◆ setXFocal()

void lsst::jointcal::MeasuredStar::setXFocal ( double  xFocal)
inline

Definition at line 81 of file MeasuredStar.h.

◆ setYFocal()

void lsst::jointcal::MeasuredStar::setYFocal ( double  yFocal)
inline

Definition at line 83 of file MeasuredStar.h.

◆ typeName()

static const char* lsst::jointcal::BaseStar::typeName ( )
inlinestaticinherited

Definition at line 69 of file BaseStar.h.

Member Data Documentation

◆ _flux

double lsst::jointcal::BaseStar::_flux
protectedinherited

Definition at line 88 of file BaseStar.h.

◆ _fluxErr

double lsst::jointcal::BaseStar::_fluxErr
protectedinherited

Definition at line 89 of file BaseStar.h.

◆ _mag

double lsst::jointcal::BaseStar::_mag
protectedinherited

Definition at line 92 of file BaseStar.h.

◆ _magErr

double lsst::jointcal::BaseStar::_magErr
protectedinherited

Definition at line 93 of file BaseStar.h.

◆ vx

double lsst::jointcal::FatPoint::vx
inherited

Definition at line 13 of file FatPoint.h.

◆ vxy

double lsst::jointcal::FatPoint::vxy
inherited

Definition at line 13 of file FatPoint.h.

◆ vy

double lsst::jointcal::FatPoint::vy
inherited

Definition at line 13 of file FatPoint.h.

◆ x

double lsst::jointcal::Point::x
inherited

coordinate

Definition at line 18 of file Point.h.

◆ y

double lsst::jointcal::Point::y
inherited

Definition at line 18 of file Point.h.


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