LSSTApplications  1.1.2+25,10.0+13,10.0+132,10.0+133,10.0+224,10.0+41,10.0+8,10.0-1-g0f53050+14,10.0-1-g4b7b172+19,10.0-1-g61a5bae+98,10.0-1-g7408a83+3,10.0-1-gc1e0f5a+19,10.0-1-gdb4482e+14,10.0-11-g3947115+2,10.0-12-g8719d8b+2,10.0-15-ga3f480f+1,10.0-2-g4f67435,10.0-2-gcb4bc6c+26,10.0-28-gf7f57a9+1,10.0-3-g1bbe32c+14,10.0-3-g5b46d21,10.0-4-g027f45f+5,10.0-4-g86f66b5+2,10.0-4-gc4fccf3+24,10.0-40-g4349866+2,10.0-5-g766159b,10.0-5-gca2295e+25,10.0-6-g462a451+1
LSSTDataManagementBasePackage
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
lsst::ap::Object Struct Reference

A partial representation of a full LSST Object containing only id, position, proper motions, and per-filter variability probabilities. More...

#include <Object.h>

Public Member Functions

boost::int64_t getId () const
 
double getRa () const
 
double getDec () const
 
double getMuRa () const
 
double getMuDecl () const
 
double getParallax () const
 
double getRadialVelocity () const
 
double getEpoch () const
 
boost::int16_t getVarProb (lsst::afw::image::Filter const &f) const
 

Public Attributes

boost::int64_t _objectId
 
double _ra
 
double _decl
 
double _muRa
 
double _muDecl
 
double _parallax
 
double _radialVelocity
 
boost::int16_t _varProb [NUM_FILTERS]
 

Static Public Attributes

static int const NUM_FILTERS = 6
 

Detailed Description

A partial representation of a full LSST Object containing only id, position, proper motions, and per-filter variability probabilities.

This is sufficient for performing spatial crosss matches. None of these fields may ever be NULL.

Definition at line 53 of file Object.h.

Member Function Documentation

double lsst::ap::Object::getDec ( ) const
inline
Returns
Declination (degrees)

Definition at line 72 of file Object.h.

72  {
73  return _decl;
74  }
double _decl
Definition: Object.h:57
double lsst::ap::Object::getEpoch ( ) const
inline

Returns the epoch of the position (getRa(), getDec()). New objects created from difference sources are created with zero proper motion so returning an incorrect epoch for those positions has no effect on association. Therefore, this method can always returns J2000 in MJD(TAI) and there is no need to store epochs in chunk files: object positions measured by deep detection are assumed to be in equatorial J2000.0 coordinates at epoch = J2000.

Definition at line 100 of file Object.h.

100  {
101  // 51544.5 - 32.184/86400; this is JD 2451545.0 (TT) converted to MJD(TAI)
102  return 51544.4996275;
103  }
boost::int64_t lsst::ap::Object::getId ( ) const
inline

Definition at line 64 of file Object.h.

64  {
65  return _objectId;
66  }
boost::int64_t _objectId
Definition: Object.h:55
double lsst::ap::Object::getMuDecl ( ) const
inline
Returns
Proper motion (declination, mas/year)

Definition at line 80 of file Object.h.

80  {
81  return _muDecl;
82  }
double _muDecl
Definition: Object.h:59
double lsst::ap::Object::getMuRa ( ) const
inline
Returns
Proper motion (right ascension scaled by cos(dec), mas/year)

Definition at line 76 of file Object.h.

76  {
77  return _muRa;
78  }
double _muRa
Definition: Object.h:58
double lsst::ap::Object::getParallax ( ) const
inline
Returns
Parallax (mas)

Definition at line 84 of file Object.h.

84  {
85  return _parallax;
86  }
double _parallax
Definition: Object.h:60
double lsst::ap::Object::getRa ( ) const
inline
Returns
Right ascension (degrees)

Definition at line 68 of file Object.h.

68  {
69  return _ra;
70  }
double _ra
Definition: Object.h:56
double lsst::ap::Object::getRadialVelocity ( ) const
inline
Returns
Radial velocity (km/s)

Definition at line 88 of file Object.h.

88  {
89  return _radialVelocity;
90  }
double _radialVelocity
Definition: Object.h:61
boost::int16_t lsst::ap::Object::getVarProb ( lsst::afw::image::Filter const &  f) const
inline

Definition at line 105 of file Object.h.

105  {
106  return _varProb[f.getId()];
107  }
boost::int16_t _varProb[NUM_FILTERS]
Definition: Object.h:62

Member Data Documentation

double lsst::ap::Object::_decl

Definition at line 57 of file Object.h.

double lsst::ap::Object::_muDecl

Definition at line 59 of file Object.h.

double lsst::ap::Object::_muRa

Definition at line 58 of file Object.h.

boost::int64_t lsst::ap::Object::_objectId

Definition at line 55 of file Object.h.

double lsst::ap::Object::_parallax

Definition at line 60 of file Object.h.

double lsst::ap::Object::_ra

Definition at line 56 of file Object.h.

double lsst::ap::Object::_radialVelocity

Definition at line 61 of file Object.h.

boost::int16_t lsst::ap::Object::_varProb[NUM_FILTERS]

Definition at line 62 of file Object.h.

int const lsst::ap::Object::NUM_FILTERS = 6
static

Definition at line 54 of file Object.h.


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