24 #ifndef LSST_AFW_GEOM_SKYWCS_H
25 #define LSST_AFW_GEOM_SKYWCS_H
40 #include "lsst/daf/base/PropertyList.h"
137 explicit SkyWcs(ast::FrameSet
const &frameSet);
191 std::pair<Angle, Angle>
pixelToSky(
double x,
double y)
const;
193 std::vector<SpherePoint>
pixelToSky(std::vector<Point2D>
const &pixels)
const {
211 explicit SkyWcs(std::shared_ptr<ast::FrameSet> &&frameSet);
215 std::shared_ptr<ast::FrameSet> _checkFrameSet(ast::FrameSet
const &frameSet)
const;
Point in an unspecified spherical coordinate system.
A WCS that transform pixels to ICRS RA/Dec using the LSST standard for pixels.
lsst::afw::geom::Angle Angle
Point2D skyToPixel(SpherePoint const &sky) const
Compute pixel position(s) from sky position(s)
std::vector< Point2D > skyToPixel(std::vector< SpherePoint > const &sky) const
Compute pixel position(s) from sky position(s)
AngleUnit constexpr degrees
constant with units of degrees
std::pair< double, double > skyToPixel(Angle const &ra, Angle const &dec) const
Compute pixel position(s) from sky position(s)
Eigen::Matrix2d getCdMatrix() const
Get the 2x2 CD matrix at the pixel origin.
Point2D getPixelOrigin() const
Get CRPIX, the pixel origin, using the LSST convention.
SpherePoint getSkyOrigin() const
Get CRVAL, the sky origin or celestial fiducial point.
SkyWcs getTanWcs(Point2D const &pixel) const
Get a local TAN WCS approximation to this WCS at the specified pixel position.
A class representing an angle.
std::pair< Angle, Angle > pixelToSky(double x, double y) const
Compute sky position(s) from pixel position(s)
Angle getPixelScale() const
Get the pixel scale at the pixel origin.
std::vector< SpherePoint > pixelToSky(std::vector< Point2D > const &pixels) const
Compute sky position(s) from pixel position(s)
SkyWcs(SkyWcs const &)=default
SpherePoint pixelToSky(Point2D const &pixel) const
Compute sky position(s) from pixel position(s)
Eigen::Matrix2d makeCdMatrix(Angle const &scale, Angle const &orientation=0 *degrees, bool flipX=false)
Make a WCS CD matrix.
table::PointKey< int > pixel
table::PointKey< double > crval
SkyWcs copyAtShiftedPixelOrigin(Extent2D const &shift) const
Return a copy of this SkyWcs with the pixel origin by the specified amount.
SkyWcs & operator=(SkyWcs const &)=delete
table::PointKey< double > crpix
lsst::daf::base::PropertyList PropertyList