26 #ifndef CREATE_WCS_WITH_SIP 27 #define CREATE_WCS_WITH_SIP 85 template<
class MatchT>
122 double getScatterInPixels()
const;
138 double getLinearScatterInPixels()
const;
163 int const _sipOrder, _reverseSipOrder;
165 Eigen::MatrixXd _sipA, _sipB;
166 Eigen::MatrixXd _sipAp, _sipBp;
170 void _calculateForwardMatrices();
171 void _calculateReverseMatrices();
177 template<
class MatchT>
int getOrder() const
Return the number of terms in the SIP matrix.
int getNPoints() const
Return the number of points in the catalogue.
CreateWcsWithSip< MatchT > makeCreateWcsWithSip(std::vector< MatchT > const &matches, afw::image::Wcs const &linearWcs, int const order, afw::geom::Box2I const &bbox=afw::geom::Box2I(), int const ngrid=0)
Factory function for CreateWcsWithSip.
std::shared_ptr< CreateWcsWithSip > Ptr
boost::shared_ptr< afw::image::TanWcs > getNewWcs()
std::shared_ptr< CreateWcsWithSip const > ConstPtr
Measure the distortions in an image plane and express them a SIP polynomials.
int getNGrid() const
Return the number of grid points (on each axis) used in inverse SIP transform.