|
LSSTApplications
11.0-13-gbb96280,12.1+18,12.1+7,12.1-1-g14f38d3+72,12.1-1-g16c0db7+5,12.1-1-g5961e7a+84,12.1-1-ge22e12b+23,12.1-11-g06625e2+4,12.1-11-g0d7f63b+4,12.1-19-gd507bfc,12.1-2-g7dda0ab+38,12.1-2-gc0bc6ab+81,12.1-21-g6ffe579+2,12.1-21-gbdb6c2a+4,12.1-24-g941c398+5,12.1-3-g57f6835+7,12.1-3-gf0736f3,12.1-37-g3ddd237,12.1-4-gf46015e+5,12.1-5-g06c326c+20,12.1-5-g648ee80+3,12.1-5-gc2189d7+4,12.1-6-ga608fc0+1,12.1-7-g3349e2a+5,12.1-7-gfd75620+9,12.1-9-g577b946+5,12.1-9-gc4df26a+10
LSSTDataManagementBasePackage
|
Namespaces | |
| utils | |
Classes | |
| class | Coord |
| This is the base class for spherical coordinates. More... | |
| class | IcrsCoord |
| A class to handle Icrs coordinates (inherits from Coord) More... | |
| class | Fk5Coord |
| A class to handle Fk5 coordinates (inherits from Coord) More... | |
| class | GalacticCoord |
| A class to handle Galactic coordinates (inherits from Coord) More... | |
| class | EclipticCoord |
| A class to handle Ecliptic coordinates (inherits from Coord) More... | |
| class | TopocentricCoord |
| A class to handle topocentric (AltAz) coordinates (inherits from Coord) More... | |
| class | Observatory |
| Hold the location of an observatory. More... | |
| class | Weather |
| Basic weather information sufficient for a simple model for air mass or refraction. More... | |
Enumerations | |
| enum | CoordSystem { UNKNOWN =-1, FK5, ICRS, GALACTIC, ECLIPTIC, TOPOCENTRIC } |
Functions | |
| std::ostream & | operator<< (std::ostream &os, Observatory const &obs) |
| std::ostream & | operator<< (std::ostream &os, Weather const &weath) |
| print a Weather to an output stream More... | |
| CoordSystem | makeCoordEnum (std::string const system) |
| A utility function to get the enum value of a coordinate system from a string name. More... | |
| boost::shared_ptr< Coord > | makeCoord (CoordSystem const system, lsst::afw::geom::Angle const ra, lsst::afw::geom::Angle const dec, double const epoch) |
| Factory function to create a Coord of arbitrary type with decimal RA,Dec. More... | |
| boost::shared_ptr< Coord > | makeCoord (CoordSystem const system, std::string const ra, std::string const dec, double const epoch) |
| Factory function to create a Coord of arbitrary type with string RA [in degrees, not hours!], Dec. More... | |
| boost::shared_ptr< Coord > | makeCoord (CoordSystem const system, lsst::afw::geom::Point2D const &p2d, lsst::afw::geom::AngleUnit unit, double const epoch) |
| Factory function to create a Coord of arbitrary type with Point2D. More... | |
| boost::shared_ptr< Coord > | makeCoord (CoordSystem const system, lsst::afw::geom::Point3D const &p3d, double const epoch, bool normalize=true, lsst::afw::geom::Angle const defaultLongitude=lsst::afw::geom::Angle(0.)) |
| Factory function to create a Coord of arbitrary type with a Point3D. More... | |
| boost::shared_ptr< Coord > | makeCoord (CoordSystem const system) |
| Lightweight factory to make an empty coord. More... | |
| boost::shared_ptr< Coord > | makeCoord (CoordSystem const system, lsst::afw::geom::Angle const ra, lsst::afw::geom::Angle const dec) |
| Factory function to create a Coord of arbitrary type with decimal RA,Dec in degrees. More... | |
| boost::shared_ptr< Coord > | makeCoord (CoordSystem const system, std::string const ra, std::string const dec) |
| Factory function to create a Coord of arbitrary type with string RA [in degrees, not hours!], Dec. More... | |
| boost::shared_ptr< Coord > | makeCoord (CoordSystem const system, lsst::afw::geom::Point2D const &p2d, lsst::afw::geom::AngleUnit unit) |
| Factory function to create a Coord of arbitrary type with Point2D. More... | |
| boost::shared_ptr< Coord > | makeCoord (CoordSystem const system, lsst::afw::geom::Point3D const &p3d, bool normalize=true, lsst::afw::geom::Angle const defaultLongitude=lsst::afw::geom::Angle(0.)) |
| Factory function to create a Coord of arbitrary type with a Point3D. More... | |
| boost::shared_ptr< Coord > | averageCoord (std::vector< boost::shared_ptr< Coord const >> const coords, CoordSystem system=UNKNOWN) |
| Return average of a list of coordinates. More... | |
| lsst::afw::geom::Angle | eclipticPoleInclination (double const epoch) |
| get the inclination of the ecliptic pole (obliquity) at epoch More... | |
| lsst::afw::geom::Angle | dmsStringToAngle (std::string const dms) |
| Convert a dd:mm:ss string to Angle. More... | |
| lsst::afw::geom::Angle | hmsStringToAngle (std::string const hms) |
| Convert a hh:mm:ss string to Angle. More... | |
| std::string | angleToDmsString (lsst::afw::geom::Angle const deg) |
| a Function to convert a coordinate in decimal degrees to a string with form dd:mm:ss More... | |
| std::string | angleToHmsString (lsst::afw::geom::Angle const deg) |
| a function to convert decimal degrees to a string with form hh:mm:ss.s More... | |
| std::ostream & | operator<< (std::ostream &os, Coord const &coord) |
| Enumerator | |
|---|---|
| UNKNOWN | |
| FK5 | |
| ICRS | |
| GALACTIC | |
| ECLIPTIC | |
| TOPOCENTRIC | |
Definition at line 54 of file Coord.h.
| std::string lsst::afw::coord::angleToDmsString | ( | lsst::afw::geom::Angle const | deg | ) |
| std::string lsst::afw::coord::angleToHmsString | ( | lsst::afw::geom::Angle const | deg | ) |
| boost::shared_ptr< Coord > lsst::afw::coord::averageCoord | ( | std::vector< boost::shared_ptr< Coord const >> const | coords, |
| CoordSystem | system = UNKNOWN |
||
| ) |
Return average of a list of coordinates.
| [in] | coords | list of coords to average |
| [in] | system | coordinate system of returned result; if UNKNOWN then all input coordinates must have the same coordinate system, which is used for the result |
| lsst::pex::exceptions::InvalidParameterError | if system is UNKNOWN and the coords do not all have the same coordinate system |
| afwGeom::Angle lsst::afw::coord::dmsStringToAngle | ( | std::string const | dms | ) |
| afwGeom::Angle lsst::afw::coord::eclipticPoleInclination | ( | double const | epoch | ) |
get the inclination of the ecliptic pole (obliquity) at epoch
| epoch | desired epoch for inclination |
Definition at line 354 of file Coord.cc.
| afwGeom::Angle lsst::afw::coord::hmsStringToAngle | ( | std::string const | hms | ) |
| boost::shared_ptr< afwCoord::Coord > lsst::afw::coord::makeCoord | ( | CoordSystem const | system, |
| lsst::afw::geom::Angle const | ra, | ||
| lsst::afw::geom::Angle const | dec, | ||
| double const | epoch | ||
| ) |
Factory function to create a Coord of arbitrary type with decimal RA,Dec.
| system | the system (equ, fk5, galactic ..) |
| ra | right ascension |
| dec | declination |
| epoch | epoch of coordinate |
Definition at line 1220 of file Coord.cc.
| boost::shared_ptr< afwCoord::Coord > lsst::afw::coord::makeCoord | ( | CoordSystem const | system, |
| std::string const | ra, | ||
| std::string const | dec, | ||
| double const | epoch | ||
| ) |
Factory function to create a Coord of arbitrary type with string RA [in degrees, not hours!], Dec.
| system | the system (equ, fk5, galactic ..) |
| ra | right ascension |
| dec | declination |
| epoch | epoch of coordinate |
Definition at line 1372 of file Coord.cc.
| boost::shared_ptr< afwCoord::Coord > lsst::afw::coord::makeCoord | ( | CoordSystem const | system, |
| lsst::afw::geom::Point2D const & | p2d, | ||
| lsst::afw::geom::AngleUnit | unit, | ||
| double const | epoch | ||
| ) |
Factory function to create a Coord of arbitrary type with Point2D.
| system | the system (equ, fk5, galactic ..) |
| p2d | the (eg) ra,dec in a Point2D |
| unit | the units (eg. degrees, radians) |
| epoch | epoch of coordinate |
Definition at line 1336 of file Coord.cc.
| boost::shared_ptr< afwCoord::Coord > lsst::afw::coord::makeCoord | ( | CoordSystem const | system, |
| lsst::afw::geom::Point3D const & | p3d, | ||
| double const | epoch, | ||
| bool | normalize = true, |
||
| lsst::afw::geom::Angle const | defaultLongitude = lsst::afw::geom::Angle(0.) |
||
| ) |
Factory function to create a Coord of arbitrary type with a Point3D.
| system | the system (equ, fk5, galactic ..) |
| p3d | the coord in Point3D format |
| epoch | epoch of coordinate |
| normalize | normalize the p3d provided |
| defaultLongitude | longitude to use if x=y=0 |
Definition at line 1305 of file Coord.cc.
| boost::shared_ptr< afwCoord::Coord > lsst::afw::coord::makeCoord | ( | CoordSystem const | system | ) |
Lightweight factory to make an empty coord.
| system | the system (FK5, ICRS, etc) |
Definition at line 1398 of file Coord.cc.
| boost::shared_ptr< afwCoord::Coord > lsst::afw::coord::makeCoord | ( | CoordSystem const | system, |
| lsst::afw::geom::Angle const | ra, | ||
| lsst::afw::geom::Angle const | dec | ||
| ) |
Factory function to create a Coord of arbitrary type with decimal RA,Dec in degrees.
| system | the system (equ, fk5, galactic ..) |
| ra | right ascension |
| dec | declination |
Definition at line 1264 of file Coord.cc.
| boost::shared_ptr< afwCoord::Coord > lsst::afw::coord::makeCoord | ( | CoordSystem const | system, |
| std::string const | ra, | ||
| std::string const | dec | ||
| ) |
Factory function to create a Coord of arbitrary type with string RA [in degrees, not hours!], Dec.
| system | the system (equ, fk5, galactic ..) |
| ra | right ascension |
| dec | declination |
Definition at line 1385 of file Coord.cc.
| boost::shared_ptr< afwCoord::Coord > lsst::afw::coord::makeCoord | ( | CoordSystem const | system, |
| lsst::afw::geom::Point2D const & | p2d, | ||
| lsst::afw::geom::AngleUnit | unit | ||
| ) |
Factory function to create a Coord of arbitrary type with Point2D.
| system | the system (equ, fk5, galactic ..) |
| p2d | the (eg) ra,dec in a Point2D |
| unit | the units (eg. degrees, radians) |
Definition at line 1355 of file Coord.cc.
| boost::shared_ptr< afwCoord::Coord > lsst::afw::coord::makeCoord | ( | CoordSystem const | system, |
| lsst::afw::geom::Point3D const & | p3d, | ||
| bool | normalize = true, |
||
| lsst::afw::geom::Angle const | defaultLongitude = lsst::afw::geom::Angle(0.) |
||
| ) |
Factory function to create a Coord of arbitrary type with a Point3D.
| system | the system (equ, fk5, galactic ..) |
| p3d | the coord in Point3D format |
| normalize | normalize the p3d provided |
| defaultLongitude | longitude to use if x=y=0 |
Definition at line 1321 of file Coord.cc.
| afwCoord::CoordSystem lsst::afw::coord::makeCoordEnum | ( | std::string const | system | ) |
A utility function to get the enum value of a coordinate system from a string name.
Definition at line 117 of file Coord.cc.
| std::ostream & lsst::afw::coord::operator<< | ( | std::ostream & | os, |
| Weather const & | weath | ||
| ) |
print a Weather to an output stream
Definition at line 54 of file Weather.cc.
| std::ostream & lsst::afw::coord::operator<< | ( | std::ostream & | os, |
| Observatory const & | obs | ||
| ) |
Definition at line 86 of file Observatory.cc.
| std::ostream & lsst::afw::coord::operator<< | ( | std::ostream & | os, |
| afwCoord::Coord const & | coord | ||
| ) |
Definition at line 1427 of file Coord.cc.
1.8.5