Function lsst::afw::geom::makeTanSipWcs(lsst::geom::Point2D const&, lsst::geom::SpherePoint const&, Eigen::Matrix2d const&, Eigen::MatrixXd const&, Eigen::MatrixXd const&, Eigen::MatrixXd const&, Eigen::MatrixXd const&)

Function Documentation

std::shared_ptr<SkyWcs> lsst::afw::geom::makeTanSipWcs(lsst::geom::Point2D const &crpix, lsst::geom::SpherePoint const &crval, Eigen::Matrix2d const &cdMatrix, Eigen::MatrixXd const &sipA, Eigen::MatrixXd const &sipB, Eigen::MatrixXd const &sipAp, Eigen::MatrixXd const &sipBp)

Construct a TAN WCS with forward and inverse SIP distortion terms.

Parameters
  • [in] crpix: Center of projection on the CCD using the LSST convention: 0, 0 is the lower left pixel of the parent image

  • [in] crval: Center of projection on the sky

  • [in] cdMatrix: CD matrix, where element (i-1, j-1) corresponds to FITS keyword CDi_j and i, j have range [1, 2]. May be computed by calling makeCdMatrix.

  • [in] sipA: Forward distortion matrix for axis 1

  • [in] sipB: Forward distortion matrix for axis 2

  • [in] sipAp: Reverse distortion matrix for axis 1

  • [in] sipBp: Reverse distortion matrix for axis 2