Function lsst::afw::geom::getCdMatrixFromMetadata

Function Documentation

Eigen::Matrix2d lsst::afw::geom::getCdMatrixFromMetadata(daf::base::PropertySet &metadata)

Read a CD matrix from FITS WCS metadata

The elements of the returned matrix are in degrees

Exceptions
  • pex::exceptions::TypeError: if no CD matrix coefficients found (missing coefficients are set to 0, as usual, but they cannot all be missing).