LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
Namespaces | |
utils | |
Classes | |
class | Coord |
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 |
Store information about an observatory ... lat/long, elevation. More... | |
Enumerations | |
enum | CoordSystem { FK5, ICRS, GALACTIC, ECLIPTIC, TOPOCENTRIC } |
Functions | |
CoordSystem | makeCoordEnum (std::string const system) |
A utility function to get the enum value of a coordinate system from a string name. More... | |
Coord::Ptr | 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... | |
Coord::Ptr | 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... | |
Coord::Ptr | 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... | |
Coord::Ptr | 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... | |
Coord::Ptr | makeCoord (CoordSystem const system) |
Lightweight factory to make an empty coord. More... | |
Coord::Ptr | 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... | |
Coord::Ptr | 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... | |
Coord::Ptr | 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... | |
Coord::Ptr | 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... | |
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) |
std::ostream & | operator<< (std::ostream &os, Observatory const &obs) |
Enumerator | |
---|---|
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 | ) |
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 | ) |
afwCoord::Coord::Ptr 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 1211 of file Coord.cc.
afwCoord::Coord::Ptr 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 1363 of file Coord.cc.
afwCoord::Coord::Ptr 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 1327 of file Coord.cc.
afwCoord::Coord::Ptr 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 1296 of file Coord.cc.
afwCoord::Coord::Ptr lsst::afw::coord::makeCoord | ( | CoordSystem const | system | ) |
Lightweight factory to make an empty coord.
system | the system (FK5, ICRS, etc) |
Definition at line 1389 of file Coord.cc.
afwCoord::Coord::Ptr 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 1255 of file Coord.cc.
afwCoord::Coord::Ptr 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 1376 of file Coord.cc.
afwCoord::Coord::Ptr 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 1346 of file Coord.cc.
afwCoord::Coord::Ptr 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 1312 of file Coord.cc.
afwCoord::CoordSystem lsst::afw::coord::makeCoordEnum | ( | std::string const | system | ) |
std::ostream & lsst::afw::coord::operator<< | ( | std::ostream & | os, |
coord::Observatory const & | obs | ||
) |
Print an Observatory to the stream
os | Stream to print to |
obs | the Observatory to print |
Definition at line 158 of file Observatory.cc.
std::ostream & lsst::afw::coord::operator<< | ( | std::ostream & | os, |
afwCoord::Coord const & | coord | ||
) |
Definition at line 1418 of file Coord.cc.