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;
94 std::vector<MatchT>
const & matches,
156 std::vector<MatchT> const & matches);
158 std::vector<MatchT> const & matches);
167 template<class MatchT>
169 std::vector<MatchT> const & matches,
172 afw::geom::Box2I const& bbox = afw::geom::Box2I(),
int const _reverseSipOrder
A coordinate class intended to represent absolute positions.
afw::geom::Point2D _getCrvalAsGeomPoint()
int getOrder() const
Get the number of terms in the SIP matrix.
int getNPoints() const
Return the number of points in the catalogue.
afw::geom::Angle getLinearScatterOnSky()
boost::shared_ptr< afw::image::Wcs const > _linearWcs
Implementation of the WCS standard for a any projection.
double getLinearScatterInPixels()
double getScatterInPixels()
a place to record messages and descriptions of the state of processing.
int getNGrid() const
Return the number of grid points (on each axis) used in inverse SIP transform.
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
double _getScatterPixels(afw::image::Wcs const &wcs, std::vector< MatchT > const &matches)
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
void _calculateForwardMatrices()
void _calculateReverseMatrices()
boost::shared_ptr< CreateWcsWithSip > Ptr
lsst::pex::logging::Log _log
boost::shared_ptr< afw::image::TanWcs > getNewWcs()
lsst::afw::geom::Angle Angle
boost::shared_ptr< afw::image::TanWcs > _newWcs
Measure the distortions in an image plane and express them a SIP polynomials.
afw::geom::Angle _getScatterSky(afw::image::Wcs const &wcs, std::vector< MatchT > const &matches)
Point< double, 2 > Point2D
afw::geom::Angle getScatterOnSky()
std::vector< MatchT > const _matches