31 namespace lsst {
namespace meas {
namespace astrom {
60 forwardSipPoly._xCoeffs(1, 0) -= 1;
61 forwardSipPoly._yCoeffs(0, 1) -= 1;
79 forwardSipPoly._xCoeffs(1, 0) -= 1;
80 forwardSipPoly._yCoeffs(0, 1) -= 1;
87 return convert(scaled, pixelOrigin, cdMatrix);
122 reverseSipPoly._xCoeffs(1, 0) -= 1;
123 reverseSipPoly._yCoeffs(0, 1) -= 1;
142 reverseSipPoly._xCoeffs(1, 0) -= 1;
143 reverseSipPoly._yCoeffs(0, 1) -= 1;
181 oss <<
"SIP forward and reverse transforms have inconsistent CRPIX: " 190 oss <<
"SIP forward and reverse transforms have inconsistent CD matrix: " 220 switch(nQuarter % 4) {
Extent< double, 2 > Extent2D
PolynomialTransform compose(afw::geom::AffineTransform const &t1, PolynomialTransform const &t2)
Return a PolynomialTransform that is equivalent to the composition t1(t2())
AngleUnit constexpr degrees
std::shared_ptr< afw::geom::SkyWcs > makeWcs(SipForwardTransform const &sipForward, SipReverseTransform const &sipReverse, afw::geom::SpherePoint const &skyOrigin)
Create a new TAN SIP Wcs from a pair of SIP transforms and the sky origin.
std::shared_ptr< SkyWcs > makeTanSipWcs(Point2D const &crpix, SpherePoint const &crval, Eigen::Matrix2d const &cdMatrix, Eigen::MatrixXd const &sipA, Eigen::MatrixXd const &sipB)
EigenVector const & asEigen() const
std::shared_ptr< TransformPoint2ToPoint2 > makeTransform(AffineTransform const &affine)
std::shared_ptr< afw::geom::SkyWcs > rotateWcsPixelsBy90(afw::geom::SkyWcs const &wcs, int nQuarter, afw::geom::Extent2I const &dimensions)
Return a new SkyWcs that represents a rotation of the image it corresponds to about the image's cente...
#define LSST_EXCEPT(type,...)
std::shared_ptr< SkyWcs > makeModifiedWcs(TransformPoint2ToPoint2 const &pixelTransform, SkyWcs const &wcs, bool modifyActualPixels)
std::shared_ptr< afw::geom::SkyWcs > transformWcsPixels(afw::geom::SkyWcs const &wcs, afw::geom::AffineTransform const &s)
Create a new SkyWcs whose pixel coordinate system has been transformed via an affine transform...