|
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
|
#include <ReferencePosition.h>
Public Types | |
| enum | Flags { MOVING = 0x1, PARALLAX = 0x2, PARALLAX_COR = 0x4 } |
Public Member Functions | |
| ReferencePosition (int64_t id, lsst::afw::geom::Angle const ra, lsst::afw::geom::Angle const dec, double epoch=J2000_MJD) | |
| virtual | ~ReferencePosition () |
| void | clearMotion () |
| void | setMotion (double muRa, double muDecl, lsst::afw::geom::Angle parallax, double vRadial, bool trueAngle, bool parallaxCor) |
| void | setTimeRange (double epoch1, double epoch2) |
| int64_t | getId () const |
| double | getEpoch () const |
| int | getFlags () const |
| lsst::afw::coord::IcrsCoord const & | getSphericalCoords () const |
| Eigen::Vector3d const & | getPosition () const |
| Eigen::Vector3d const & | getVelocity () const |
| Eigen::Vector3d const | getPosition (double epoch) const |
| Eigen::Vector3d const | getPosition (double epoch, Eigen::Vector3d const &origin) const |
| virtual double | getMinCoord0 () const |
| virtual double | getMaxCoord0 () const |
| virtual double | getMinCoord1 () const |
| virtual double | getMaxCoord1 () const |
Public Member Functions inherited from lsst::ap::match::BBox | |
| virtual | ~BBox () |
Static Public Attributes | |
| static double const | MIN_PARALLAX = 1e-11 |
Private Attributes | |
| lsst::afw::coord::IcrsCoord | _sc |
| (ra, decl) at _epoch, ICRS rad More... | |
| int64_t | _id |
| double | _epoch |
| epoch of reference position, MJD More... | |
| Eigen::Vector3d | _p |
| (x, y, z) at _epoch More... | |
| Eigen::Vector3d | _v |
| (dx/dt, dy/dt, dz/dt) More... | |
| lsst::afw::geom::Angle | _parallax |
| parallax, rad More... | |
| lsst::afw::geom::Angle | _minDecl |
| lsst::afw::geom::Angle | _maxDecl |
| lsst::afw::geom::Angle | _minRa |
| lsst::afw::geom::Angle | _maxRa |
| int | _flags |
| Bit-wise OR of Flags. More... | |
Position related parameters of a simulated reference catalog source. There are no errors - these are inputs to the image simulator.
Definition at line 48 of file ReferencePosition.h.
Definition at line 50 of file ReferencePosition.h.
|
inline |
Constructs a stationary, infinitely distant reference position.
| id | Reference position id |
| ra | Reference position right ascension, ICRS (radians) |
| decl | Reference position declination, ICRS (radians) |
| epoch | Reference position epoch, MJD |
Definition at line 38 of file ReferencePosition.cc.
|
inlinevirtual |
Definition at line 65 of file ReferencePosition.h.
| void lsst::ap::match::ReferencePosition::clearMotion | ( | ) |
Clears the motion parameters of this reference position.
Definition at line 54 of file ReferencePosition.cc.
|
inline |
Returns the epoch (MJD) of this reference position.
Definition at line 65 of file ReferencePosition.cc.
|
inline |
Returns a bit-wise ORed combination of ReferencePosition::Flags describing this reference position.
Definition at line 72 of file ReferencePosition.cc.
|
inline |
Returns the unique integer id of this reference position.
Definition at line 59 of file ReferencePosition.cc.
|
virtual |
Implements lsst::ap::match::BBox.
Definition at line 146 of file ReferencePosition.cc.
|
virtual |
Implements lsst::ap::match::BBox.
Definition at line 154 of file ReferencePosition.cc.
|
virtual |
Implements lsst::ap::match::BBox.
Definition at line 142 of file ReferencePosition.cc.
|
virtual |
Implements lsst::ap::match::BBox.
Definition at line 150 of file ReferencePosition.cc.
|
inline |
Returns the reference position at epoch getEpoch(). If the reference position flags contain the PARALLAX bit, then this vector is in units of AU and is in the ICRS system (with an origin at the solar-system barycenter). Otherwise, this is a unit-vector - the reference position is treated as infinitely distant from an observer.
Coordinates are in the ICRS system for a barycentric observer.
Definition at line 92 of file ReferencePosition.cc.
|
inline |
Returns the reference position at epoch epoch, accounting for motion and optionally adjusting the coordinates to be geocentric rather than barycentric. The return value is normalized to be a unit 3-vector.
Note that the change to a geocentric origin is only performed if the the reference position flags contain the PARALLAX bit and ssbToGeo is true. Otherwise, the reference position is treated as infinitely distant (i.e. the change of origin has no effect),
Definition at line 114 of file ReferencePosition.cc.
|
inline |
Returns the reference position at epoch epoch, with a change of origin.
Definition at line 130 of file ReferencePosition.cc.
|
inline |
Returns the ICRS spherical coordinates (rad) of the reference position at epoch getEpoch().
Definition at line 79 of file ReferencePosition.cc.
|
inline |
Returns the velocity of the reference position. If the reference position flags contain the PARALLAX bit, then this vector is in units of AU/day. Otherwise, units are radians/day (and will not have a radial component).
Definition at line 101 of file ReferencePosition.cc.
| void lsst::ap::match::ReferencePosition::setMotion | ( | double | muRa, |
| double | muDecl, | ||
| lsst::afw::geom::Angle | parallax, | ||
| double | vRadial, | ||
| bool | trueAngle, | ||
| bool | parallaxCor | ||
| ) |
Sets the motion parameters of this reference position.
| muRa | Rate of change of RA (true or coordinate angle), rad/day |
| muDecl | Declination rate of change, rad/day |
| parallax | Parallax, rad |
| vRadial | Radial velocity, AU/day |
| trueAngle | Is muRa dRA/dt*cos(decl) (true) or dRA/dt (false)? |
| parallaxCor | Apply parallax corrections in getPosition()? |
Definition at line 67 of file ReferencePosition.cc.
| void lsst::ap::match::ReferencePosition::setTimeRange | ( | double | epoch1, |
| double | epoch2 | ||
| ) |
Sets the bounding box (in spherical coordinates) of the reference position to the bounding box of its path over the given time range. If SSB to geocentric corrections are enabled, the box is additionally padded by twice the parallax.
The input epochs need not be ordered.
Definition at line 122 of file ReferencePosition.cc.
|
private |
epoch of reference position, MJD
Definition at line 99 of file ReferencePosition.h.
|
private |
Bit-wise OR of Flags.
Definition at line 108 of file ReferencePosition.h.
|
private |
Definition at line 98 of file ReferencePosition.h.
|
private |
Definition at line 105 of file ReferencePosition.h.
|
private |
Definition at line 107 of file ReferencePosition.h.
|
private |
Definition at line 104 of file ReferencePosition.h.
|
private |
Definition at line 106 of file ReferencePosition.h.
|
private |
(x, y, z) at _epoch
Definition at line 100 of file ReferencePosition.h.
|
private |
parallax, rad
Definition at line 102 of file ReferencePosition.h.
|
private |
(ra, decl) at _epoch, ICRS rad
Definition at line 97 of file ReferencePosition.h.
|
private |
(dx/dt, dy/dt, dz/dt)
Definition at line 101 of file ReferencePosition.h.
|
static |
Definition at line 58 of file ReferencePosition.h.
1.8.5