23 #ifndef LSST_AFW_GEOM_DETAILS_WCSUTILS_H 24 #define LSST_AFW_GEOM_DETAILS_WCSUTILS_H 149 Eigen::Matrix2d
const& cdMatrix,
165 Eigen::Matrix2d
const& cdMatrix,
166 Eigen::MatrixXd
const& sipA,
167 Eigen::MatrixXd
const& sipB);
184 Eigen::Matrix2d
const& cdMatrix, Eigen::MatrixXd
const& sipA, Eigen::MatrixXd
const& sipB,
185 Eigen::MatrixXd
const& sipAp, Eigen::MatrixXd
const& sipBp);
191 #endif // LSST_AFW_GEOM_DETAILS_WCSUTILS_H Eigen::Matrix2d getCdMatrixFromMetadata(daf::base::PropertySet &metadata)
Read a CD matrix from FITS WCS metadata.
bool hasSipMatrix(daf::base::PropertySet const &metadata, std::string const &name)
table::PointKey< double > crpix
table::PointKey< double > crval
A base class for image defects.
std::shared_ptr< daf::base::PropertyList > createTrivialWcsMetadata(std::string const &wcsName, lsst::geom::Point2I const &xy0)
std::shared_ptr< daf::base::PropertyList > makeTanSipMetadata(lsst::geom::Point2D const &crpix, lsst::geom::SpherePoint const &crval, Eigen::Matrix2d const &cdMatrix, Eigen::MatrixXd const &sipA, Eigen::MatrixXd const &sipB)
Make metadata for a TAN-SIP WCS without inverse matrices.
std::shared_ptr< daf::base::PropertyList > makeSimpleWcsMetadata(lsst::geom::Point2D const &crpix, lsst::geom::SpherePoint const &crval, Eigen::Matrix2d const &cdMatrix, std::string const &projection="TAN")
Make FITS metadata for a simple FITS WCS (one with no distortion).
Point in an unspecified spherical coordinate system.
lsst::geom::Point2I getImageXY0FromMetadata(daf::base::PropertySet &metadata, std::string const &wcsName, bool strip=false)
std::shared_ptr< daf::base::PropertyList > makeSipMatrixMetadata(Eigen::MatrixXd const &matrix, std::string const &name)
void deleteBasicWcsMetadata(daf::base::PropertySet &metadata, std::string const &wcsName)
Eigen::MatrixXd getSipMatrixFromMetadata(daf::base::PropertySet const &metadata, std::string const &name)