26 #ifndef CREATE_WCS_WITH_SIP 27 #define CREATE_WCS_WITH_SIP 78 template<
class MatchT>
149 Eigen::MatrixXd
const getSipA() {
return _sipA; }
151 Eigen::MatrixXd
const getSipB() {
return _sipB; }
153 Eigen::MatrixXd
const getSipAp() {
return _sipAp; }
155 Eigen::MatrixXd
const getSipBp() {
return _sipBp; }
165 int const _sipOrder, _reverseSipOrder;
167 Eigen::MatrixXd _sipA, _sipB;
168 Eigen::MatrixXd _sipAp, _sipBp;
172 void _calculateForwardMatrices();
173 void _calculateReverseMatrices();
177 template<
class MatchT>
int getOrder() const
Return the number of terms in the SIP matrix.
double getScatterInPixels() const
Compute the median separation, in pixels, between items in this object's match list.
Eigen::MatrixXd const getSipBp()
CreateWcsWithSip(std::vector< MatchT > const &matches, afw::geom::SkyWcs const &linearWcs, int const order, afw::geom::Box2I const &bbox=afw::geom::Box2I(), int const ngrid=0)
Construct a CreateWcsWithSip.
CreateWcsWithSip< MatchT > makeCreateWcsWithSip(std::vector< MatchT > const &matches, afw::geom::SkyWcs const &linearWcs, int const order, afw::geom::Box2I const &bbox=afw::geom::Box2I(), int const ngrid=0)
Factory function for CreateWcsWithSip.
int getNPoints() const
Return the number of points in the catalogue.
Eigen::MatrixXd const getSipB()
std::shared_ptr< CreateWcsWithSip > Ptr
Eigen::MatrixXd const getSipAp()
afw::geom::Angle getScatterOnSky() const
Compute the median on-sky separation between items in this object's match list.
std::shared_ptr< afw::geom::SkyWcs > getNewWcs()
std::shared_ptr< CreateWcsWithSip const > ConstPtr
afw::geom::Angle getLinearScatterOnSky() const
Compute the median on-sky separation between items in this object's match list,.
Measure the distortions in an image plane and express them a SIP polynomials.
Eigen::MatrixXd const getSipA()
int getNGrid() const
Return the number of grid points (on each axis) used in inverse SIP transform.
double getLinearScatterInPixels() const
Compute the median radial separation between items in this object's match list.