lsst.jointcal  master-g19ae61cd3a+1
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 setInstFlux (double instFlux)
 
void setInstFluxErr (double instFluxErr)
 
double getInstFlux () const
 
double getInstFluxErr () const
 
double getMag () const
 
void setId (unsigned id)
 
unsigned 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< const 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 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 mag
 
double wmag
 
double chi2
 
double vx
 
double vy
 
double vxy
 
double x
 coordinate More...
 
double y
 

Protected Attributes

double _flux
 
double _fluxErr
 

Detailed Description

objects measured on actual images.

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

Definition at line 18 of file MeasuredStar.h.

Constructor & Destructor Documentation

◆ MeasuredStar() [1/4]

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

Definition at line 24 of file MeasuredStar.h.

◆ MeasuredStar() [2/4]

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

Definition at line 36 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 59 of file MeasuredStar.h.

◆ getCcdImage()

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

Definition at line 85 of file MeasuredStar.h.

◆ getFittedStar()

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

Definition at line 83 of file MeasuredStar.h.

◆ getFlux() [1/2]

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

Definition at line 60 of file BaseStar.h.

◆ getFlux() [2/2]

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

Definition at line 61 of file BaseStar.h.

◆ getFluxErr()

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

Definition at line 64 of file BaseStar.h.

◆ getId()

unsigned lsst::jointcal::MeasuredStar::getId ( )
inline

Definition at line 73 of file MeasuredStar.h.

◆ getInstFlux()

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

Definition at line 68 of file MeasuredStar.h.

◆ getInstFluxErr()

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

Definition at line 69 of file MeasuredStar.h.

◆ getMag()

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

Definition at line 70 of file MeasuredStar.h.

◆ getMagWeight()

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

the inverse of the mag variance

Definition at line 76 of file MeasuredStar.h.

◆ getX()

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

access stuff.

Definition at line 36 of file BaseStar.h.

◆ getXFocal()

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

Definition at line 78 of file MeasuredStar.h.

◆ getY()

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

Definition at line 38 of file BaseStar.h.

◆ getYFocal()

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

Definition at line 80 of file MeasuredStar.h.

◆ isValid()

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

Fits may use that to discard outliers.

Definition at line 90 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 87 of file MeasuredStar.h.

◆ setFittedStar()

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

Definition at line 54 of file MeasuredStar.h.

◆ setFlux()

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

Definition at line 62 of file BaseStar.h.

◆ setFluxErr()

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

Definition at line 65 of file BaseStar.h.

◆ setId()

void lsst::jointcal::MeasuredStar::setId ( unsigned  id)
inline

Definition at line 72 of file MeasuredStar.h.

◆ setInstFlux()

void lsst::jointcal::MeasuredStar::setInstFlux ( double  instFlux)
inline

Definition at line 65 of file MeasuredStar.h.

◆ setInstFluxErr()

void lsst::jointcal::MeasuredStar::setInstFluxErr ( double  instFluxErr)
inline

Definition at line 66 of file MeasuredStar.h.

◆ setValid()

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

Fits may use that to discard outliers.

Definition at line 92 of file MeasuredStar.h.

◆ setXFocal()

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

Definition at line 79 of file MeasuredStar.h.

◆ setYFocal()

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

Definition at line 81 of file MeasuredStar.h.

◆ typeName()

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

Definition at line 56 of file BaseStar.h.

Member Data Documentation

◆ _flux

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

Definition at line 69 of file BaseStar.h.

◆ _fluxErr

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

Definition at line 70 of file BaseStar.h.

◆ chi2

double lsst::jointcal::MeasuredStar::chi2

Definition at line 22 of file MeasuredStar.h.

◆ mag

double lsst::jointcal::MeasuredStar::mag

Definition at line 20 of file MeasuredStar.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.

◆ wmag

double lsst::jointcal::MeasuredStar::wmag

Definition at line 21 of file MeasuredStar.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: