Документ взят из кэша поисковой машины. Адрес
оригинального документа
: 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 Кодировка: Поисковые слова: uv |
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.