Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.apo.nmsu.edu/Telescopes/coordConv/html/classcoord_conv_1_1_p_v_t_coord.html
Дата изменения: Thu May 7 21:42:47 2015 Дата индексирования: Sun Apr 10 05:09:22 2016 Кодировка: Поисковые слова: 3 |
lsst.coordConv
unknown
|
#include <pvtCoord.h>
Public Member Functions | |
PVTCoord (Coord const &coord, Eigen::Vector3d const &vel, double tai) | |
PVTCoord (Coord const &coord0, Coord const &coord1, double tai, double deltaT) | |
PVTCoord (PVT const &equatPVT, PVT const &polarPVT, PVT const &distPVT=PVT()) | |
PVTCoord (PVT const &equatPVT, PVT const &polarPVT, PVT const &distPVT, double equatPM, double polarPM, double radVel) | |
PVTCoord () | |
PVTCoord | copy (double tai) const |
Eigen::Vector3d | getVel () const |
double | getTAI () const |
Coord | getCoord () const |
Coord | getCoord (double tai) const |
bool | isfinite () const |
bool | getSphPVT (PVT &equatPVT, PVT &polarPVT) const |
PVT | getDistance () const |
PVT | angularSeparation (PVTCoord const &pvtCoord) const |
PVT | orientationTo (PVTCoord const &pvtCoord) const |
PVTCoord | offset (PVT &toOrient, PVT const &fromOrient, PVT const &dist) const |
bool | operator== (PVTCoord const &rhs) |
bool | operator!= (PVTCoord const &rhs) |
std::string | __repr__ () const |
A coordinate moving at a constant cartesian velocity
Primarily intended for computing instantaneous velocity by comparing two Coord at nearby time.
Definition at line 13 of file pvtCoord.h.
|
explicit |
Construct a PVTCoord from a coord, vector velocity and time
[in] | coord | coordinate at time tai |
[in] | vel | cartesian velocity (deg/sec) |
[in] | tai | TAI date of coord (MJD seconds) |
std::runtime_error | if coord is at pole at time tai and vel nonzero. |
Definition at line 15 of file pvtCoord.cc.
|
explicit |
Construct a PVTCoord from a pair of coords
[in] | coord0 | coordinate at time tai |
[in] | coord1 | coordinate at time tai + deltaT; proper motion and radial velocity are ignored |
[in] | tai | initial TAI date of PVTCoord (MJD seconds) |
[in] | deltaT | TAI of coord1 - TAI of coord0; must be nonzero |
std::runtime_error | if deltaT = 0 |
Definition at line 21 of file pvtCoord.cc.
|
explicit |
Construct a PVTCoord from spherical PVTs and distance at TAI date equatPVT.t
[in] | equatPVT | equatorial angle (e.g. RA, Long, Az) (degrees) |
[in] | polarPVT | polar angle (e.g. Dec, Latitude, Alt) (degrees) |
[in] | distPVT | distance (AU); if invalid (!distPVT.isfinite()) then infinity is assumed |
std::runtime_error | if equatPVT.t != polarPVT.t |
Definition at line 25 of file pvtCoord.cc.
|
explicit |
Construct a PVTCoord from spherical PVTs, parallax, proper motion and radial velocity at TAI date equatPVT.t
[in] | equatPVT | equatorial angle (e.g. RA, Long, Az) (degrees) |
[in] | polarPVT | polar angle (e.g. Dec, Latitude, Alt) (degrees) |
[in] | distPVT | distance (AU) |
[in] | equatPM | equatorial proper motion (arcsec/century); this is dEquatAng/dt, so it gets large near the pole |
[in] | polarPM | polar proper motion (arcsec/century) |
[in] | radVel | radial velocity (km/sec, positive receding) |
std::runtime_error | if equatPVT.t != polarPVT.t |
Definition at line 49 of file pvtCoord.cc.
|
explicit |
Construct a PVTCoord with all NaN data
Definition at line 73 of file pvtCoord.cc.
std::string coordConv::PVTCoord::__repr__ | ( | ) | const |
Return a string representation
Definition at line 176 of file pvtCoord.cc.
Compute the angular separation from another PVTCoord
The separation is computed at the date of this pvtCoord
[in] | pvtCoord | PVT coord to which to measure angular separation |
Definition at line 121 of file pvtCoord.cc.
PVTCoord coordConv::PVTCoord::copy | ( | double | tai | ) | const |
Copy PVTCoord at the specified date
[in] | tai | TAI date at which to retrieve position (MJD, sec) |
Definition at line 79 of file pvtCoord.cc.
|
inline |
Return Coord at initial TAI date
Definition at line 95 of file pvtCoord.h.
Coord coordConv::PVTCoord::getCoord | ( | double | tai | ) | const |
Compute the coord at a specified TAI date
[in] | tai | TAI date at which to compute coord (MJD, sec) |
Definition at line 83 of file pvtCoord.cc.
PVT coordConv::PVTCoord::getDistance | ( | ) | const |
Get distance in AU
Definition at line 104 of file pvtCoord.cc.
Get spherical position
The returned velocities are the dEquat/dt and dPolar/dt at the pvtCoord's TAI date
[out] | equatPVT | equatorial PVT (deg, deg/sec, TAI date) |
[out] | polarPVT | polar PVT (deg, deg/sec, TAI date) |
Definition at line 91 of file pvtCoord.cc.
|
inline |
Get initial TAI date
Definition at line 90 of file pvtCoord.h.
|
inline |
Get orientation at initial TAI date Get velocity
Definition at line 85 of file pvtCoord.h.
bool coordConv::PVTCoord::isfinite | ( | ) | const |
Return True if all values are finite
Definition at line 115 of file pvtCoord.cc.
PVTCoord coordConv::PVTCoord::offset | ( | PVT & | toOrient, |
PVT const & | fromOrient, | ||
PVT const & | dist | ||
) | const |
Offset a PVTCoord by a specified distance in a specified direction; see Coord::offset for a full explanation.
[out] | toOrient | orientation of offset arc at offset position (deg) |
[in] | fromOrient | orientation of offset arc at this position (deg) |
[in] | dist | offset distance as the length of the arc of a great circle (deg) |
std::runtime_error | if this PVTCoord is too near a pole to be offset |
Definition at line 164 of file pvtCoord.cc.
|
inline |
Definition at line 172 of file pvtCoord.h.
|
inline |
Definition at line 166 of file pvtCoord.h.
Compute the orientation of a great circle offset to another PVTCoord
The orientation is computed at the date of this pvtCoord
[in] | pvtCoord | PVT coord to which to measure orientation |
In detail: computes the orientation at this point of a great circle connecting this PVT coord to another PVT coord. The orientation is 0 if the great circle lies along the direction of increasing equatorial angle, 90 if it lies along the direction increasing polar angle.
Definition at line 134 of file pvtCoord.cc.