26 #ifndef CREATE_WCS_WITH_SIP
27 #define CREATE_WCS_WITH_SIP
31 #include "boost/shared_ptr.hpp"
86 template<
class MatchT>
90 typedef boost::shared_ptr<CreateWcsWithSip>
Ptr;
91 typedef boost::shared_ptr<CreateWcsWithSip const>
ConstPtr;
108 std::vector<MatchT>
const & matches,
180 template<class MatchT>
182 std::vector<MatchT> const & matches,
185 afw::geom::Box2I const& bbox = afw::geom::Box2I(),
void _calculateForwardMatrices()
boost::shared_ptr< afw::image::TanWcs > _newWcs
A coordinate class intended to represent absolute positions.
void _calculateReverseMatrices()
afw::geom::Angle getScatterOnSky() const
Point< double, 2 > Point2D
Implementation of the WCS standard for a any projection.
a place to record messages and descriptions of the state of processing.
An integer coordinate rectangle.
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.
table::Key< table::Array< Kernel::Pixel > > image
int getNPoints() const
Return the number of points in the catalogue.
afw::geom::Point2D _getCrvalAsGeomPoint() const
int const _reverseSipOrder
boost::shared_ptr< afw::image::Wcs const > _linearWcs
Implementation of the WCS standard for the special case of the Gnomonic (tangent plane) projection...
CreateWcsWithSip(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)
Constructor.
boost::shared_ptr< CreateWcsWithSip const > ConstPtr
double getScatterInPixels() const
afw::geom::Angle getLinearScatterOnSky() const
Measure the distortions in an image plane and express them a SIP polynomials.
double getLinearScatterInPixels() const
boost::shared_ptr< afw::image::TanWcs > getNewWcs()
int getNGrid() const
Return the number of grid points (on each axis) used in inverse SIP transform.
boost::shared_ptr< CreateWcsWithSip > Ptr
lsst::pex::logging::Log _log
int getOrder() const
Return the number of terms in the SIP matrix.
std::vector< MatchT > const _matches