32 namespace lsst {
namespace meas {
namespace astrom {
61 forwardSipPoly._xCoeffs(1, 0) -= 1;
62 forwardSipPoly._yCoeffs(0, 1) -= 1;
80 forwardSipPoly._xCoeffs(1, 0) -= 1;
81 forwardSipPoly._yCoeffs(0, 1) -= 1;
88 return convert(scaled, pixelOrigin, cdMatrix);
123 reverseSipPoly._xCoeffs(1, 0) -= 1;
124 reverseSipPoly._yCoeffs(0, 1) -= 1;
143 reverseSipPoly._xCoeffs(1, 0) -= 1;
144 reverseSipPoly._yCoeffs(0, 1) -= 1;
182 oss <<
"SIP forward and reverse transforms have inconsistent CRPIX: " 191 oss <<
"SIP forward and reverse transforms have inconsistent CD matrix: " 221 switch(nQuarter % 4) {
std::shared_ptr< afw::geom::SkyWcs > makeWcs(SipForwardTransform const &sipForward, SipReverseTransform const &sipReverse, afw::coord::IcrsCoord const &skyOrigin)
Create a new TAN SIP Wcs from a pair of SIP transforms and the sky origin.
Extent< double, 2 > Extent2D
std::shared_ptr< SkyWcs > makeTanSipWcs(Point2D const &crpix, coord::IcrsCoord const &crval, Eigen::Matrix2d const &cdMatrix, Eigen::MatrixXd const &sipA, Eigen::MatrixXd const &sipB)
PolynomialTransform compose(afw::geom::AffineTransform const &t1, PolynomialTransform const &t2)
Return a PolynomialTransform that is equivalent to the composition t1(t2())
AngleUnit constexpr degrees
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...