lsst.meas.astrom
19.0.0-4-g8964aba
|
Go to the documentation of this file.
25 #ifndef CREATE_WCS_WITH_SIP
26 #define CREATE_WCS_WITH_SIP
75 template <
class MatchT>
140 Eigen::MatrixXd
const getSipA() {
return _sipA; }
142 Eigen::MatrixXd
const getSipB() {
return _sipB; }
144 Eigen::MatrixXd
const getSipAp() {
return _sipAp; }
146 Eigen::MatrixXd
const getSipBp() {
return _sipBp; }
155 int const _sipOrder, _reverseSipOrder;
157 Eigen::MatrixXd _sipA, _sipB;
158 Eigen::MatrixXd _sipAp, _sipBp;
162 void _calculateForwardMatrices();
163 void _calculateReverseMatrices();
167 template <
class MatchT>
int getNPoints() const
Return the number of points in the catalogue.
int getNGrid() const
Return the number of grid points (on each axis) used in inverse SIP transform.
Eigen::MatrixXd const getSipA()
double getScatterInPixels() const
Compute the median separation, in pixels, between items in this object's match list.
Eigen::MatrixXd const getSipB()
Measure the distortions in an image plane and express them a SIP polynomials.
std::shared_ptr< CreateWcsWithSip > Ptr
double getLinearScatterInPixels() const
Compute the median radial separation between items in this object's match list.
CreateWcsWithSip< MatchT > makeCreateWcsWithSip(std::vector< MatchT > const &matches, afw::geom::SkyWcs const &linearWcs, int const order, geom::Box2I const &bbox=geom::Box2I(), int const ngrid=0)
Factory function for CreateWcsWithSip.
std::shared_ptr< afw::geom::SkyWcs > getNewWcs()
int getOrder() const
Return the number of terms in the SIP matrix.
geom::Angle getLinearScatterOnSky() const
Compute the median on-sky separation between items in this object's match list,.
Eigen::MatrixXd const getSipBp()
geom::Angle getScatterOnSky() const
Compute the median on-sky separation between items in this object's match list.
std::shared_ptr< CreateWcsWithSip const > ConstPtr
Eigen::MatrixXd const getSipAp()
CreateWcsWithSip(std::vector< MatchT > const &matches, afw::geom::SkyWcs const &linearWcs, int const order, geom::Box2I const &bbox=geom::Box2I(), int const ngrid=0)
Construct a CreateWcsWithSip.