lsst.jointcal  master-g9041cab851+13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public 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...
 
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...
 
- Public Member Functions inherited from lsst::jointcal::BaseStar
 BaseStar ()
 
 BaseStar (double xx, double yy, double flux, double fluxErr)
 constructor More...
 
 BaseStar (Point const &point, double flux, double fluxErr)
 
double getX () const
 access stuff. More...
 
double getY () const
 
virtual std::string __str__ () const
 
BaseStaroperator= (Point const &point)
 
virtual ~BaseStar ()
 
double getFlux () const
 
double & getFlux ()
 
void setFlux (double flux)
 
double getFluxErr () const
 
void setFluxErr (double fluxErr)
 
- Public Member Functions inherited from lsst::jointcal::FatPoint
 FatPoint ()
 
 FatPoint (const Point &P, double Vx=1, double Vy=1, double Vxy=0)
 
 FatPoint (const double X, const double Y, const double Vx=1, const double Vy=1, const double Vxy=0)
 
- Public Member Functions inherited from lsst::jointcal::Point
virtual ~Point ()
 
 Point ()
 
 Point (double xx, double yy)
 
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...
 

Public Attributes

double mag
 
double wmag
 
double chi2
 
- Public Attributes inherited from lsst::jointcal::FatPoint
double vx
 
double vy
 
double vxy
 
- Public Attributes inherited from lsst::jointcal::Point
double x
 coordinate More...
 
double y
 

Additional Inherited Members

- Static Public Member Functions inherited from lsst::jointcal::BaseStar
static const char * typeName ()
 
- Protected Attributes inherited from lsst::jointcal::BaseStar
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

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

Definition at line 37 of file MeasuredStar.h.

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

Definition at line 47 of file MeasuredStar.h.

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.

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

Member Function Documentation

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

utility

Reimplemented from lsst::jointcal::BaseStar.

Definition at line 62 of file MeasuredStar.h.

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

Definition at line 82 of file MeasuredStar.h.

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

Definition at line 80 of file MeasuredStar.h.

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

Definition at line 75 of file MeasuredStar.h.

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

Definition at line 70 of file MeasuredStar.h.

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

Definition at line 71 of file MeasuredStar.h.

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

Definition at line 72 of file MeasuredStar.h.

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

the inverse of the mag variance

Definition at line 78 of file MeasuredStar.h.

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

Fits may use that to discard outliers.

Definition at line 87 of file MeasuredStar.h.

MeasuredStar& lsst::jointcal::MeasuredStar::operator= ( MeasuredStar const &  )
delete
MeasuredStar& lsst::jointcal::MeasuredStar::operator= ( MeasuredStar &&  )
delete
void lsst::jointcal::MeasuredStar::setCcdImage ( const CcdImage ccdImage)
inline

Definition at line 84 of file MeasuredStar.h.

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

Definition at line 57 of file MeasuredStar.h.

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

Definition at line 74 of file MeasuredStar.h.

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

Definition at line 67 of file MeasuredStar.h.

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

Definition at line 68 of file MeasuredStar.h.

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

Fits may use that to discard outliers.

Definition at line 89 of file MeasuredStar.h.

Member Data Documentation

double lsst::jointcal::MeasuredStar::chi2

Definition at line 22 of file MeasuredStar.h.

double lsst::jointcal::MeasuredStar::mag

Definition at line 20 of file MeasuredStar.h.

double lsst::jointcal::MeasuredStar::wmag

Definition at line 21 of file MeasuredStar.h.


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