Function lsst::meas::astrom::makeWcs¶
Function Documentation¶
- 
std::shared_ptr<afw::geom::SkyWcs> 
lsst::meas::astrom::makeWcs(SipForwardTransform const &sipForward, SipReverseTransform const &sipReverse, geom::SpherePoint const &skyOrigin) Create a new TAN SIP Wcs from a pair of SIP transforms and the sky origin.
- Parameters
 [in] sipForward: Mapping from pixel coordinates to intermediate world coordinates.[in] sipReverse: Mapping from intermediate world coordinates to pixel coordinates.[in] skyOrigin: ICRS position of the gnomonic projection that maps sky coordinates to intermediate world coordinates (CRVAL).
- Exceptions
 pex::exceptions::InvalidParameterError: if the forward and reverse SIP transforms have different CRPIX values or CD matrices.