Function lsst::afw::geom::makeSkyWcs(lsst::geom::Point2D const&, lsst::geom::SpherePoint const&, Eigen::Matrix2d const&, std::string const&)¶
Function Documentation¶
-
std::shared_ptr<SkyWcs>
lsst::afw::geom
::
makeSkyWcs
(lsst::geom::Point2D const &crpix, lsst::geom::SpherePoint const &crval, Eigen::Matrix2d const &cdMatrix, std::string const &projection = "TAN") Construct a simple FITS SkyWcs with no distortion
- 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] projection
: The name of the FITS WCS projection, e.g. “TAN” or “STG”