lsst.jointcal  16.0-17-g0bdc215+2
Classes | Namespaces | Typedefs | Functions
Gtransfo.h File Reference
#include <iostream>
#include <memory>
#include <string>
#include <sstream>
#include <vector>
#include "Eigen/Core"
#include "lsst/pex/exceptions.h"
#include "lsst/afw/geom/SkyWcs.h"
#include "lsst/jointcal/FatPoint.h"
#include "lsst/jointcal/Frame.h"

Go to the source code of this file.

Classes

class  lsst::jointcal::Gtransfo
 a virtual (interface) class for geometric transformations. More...
 
class  lsst::jointcal::GtransfoIdentity
 A do-nothing transformation. It anyway has dummy routines to mimick a Gtransfo. More...
 
class  lsst::jointcal::GtransfoPoly
 Polynomial transformation class. More...
 
class  lsst::jointcal::GtransfoLin
 implements the linear transformations (6 real coefficients). More...
 
class  lsst::jointcal::GtransfoLinShift
 just here to provide a specialized constructor, and fit. More...
 
class  lsst::jointcal::GtransfoLinRot
 just here to provide a specialized constructor, and fit. More...
 
class  lsst::jointcal::GtransfoLinScale
 just here to provide specialized constructors. GtransfoLin fit routine. More...
 
class  lsst::jointcal::GtransfoSkyWcs
 A Gtransfo that holds a SkyWcs. More...
 
class  lsst::jointcal::BaseTanWcs
 
class  lsst::jointcal::TanPix2RaDec
 the transformation that handles pix to sideral transfos (Gnomonic, possibly with polynomial distortions). More...
 
class  lsst::jointcal::TanSipPix2RaDec
 Implements the (forward) SIP distorsion scheme. More...
 
class  lsst::jointcal::TanRaDec2Pix
 This one is the Tangent Plane (called gnomonic) projection (from celestial sphere to tangent plane) More...
 
class  lsst::jointcal::UserTransfo
 a run-time transfo that allows users to define a Gtransfo with minimal coding (just the transfo routine). More...
 

Namespaces

 lsst
 Class for a simple mapping implementing a generic Gtransfo.
 
 lsst::jointcal
 

Typedefs

typedef void() lsst::jointcal::GtransfoFun(const double, const double, double &, double &, const void *)
 signature of the user-provided routine that actually does the coordinate transfo for UserTransfo. More...
 

Functions

std::ostreamlsst::jointcal::operator<< (std::ostream &stream, Gtransfo const &gtransfo)
 allows 'stream << Transfo;' (by calling gtransfo.dump(stream)). More...
 
std::unique_ptr< Gtransfo > lsst::jointcal::gtransfoCompose (Gtransfo const &left, Gtransfo const &right)
 Returns a pointer to a composition of gtransfos, representing left(right()). More...
 
std::unique_ptr< Gtransfo > lsst::jointcal::gtransfoCompose (Gtransfo const &left, GtransfoIdentity const &right)
 
bool lsst::jointcal::isIntegerShift (const Gtransfo *gtransfo)
 Shorthand test to tell if a transfo is a simple integer shift. More...
 
std::shared_ptr< GtransfoPoly > lsst::jointcal::inversePolyTransfo (Gtransfo const &forward, Frame const &domain, double const precision, int const maxOrder=9, unsigned const nSteps=50)
 Approximate the inverse by a polynomial, to some precision. More...
 
GtransfoLin lsst::jointcal::normalizeCoordinatesTransfo (const Frame &frame)
 Returns the transformation that maps the input frame along both axes to [-1,1]. More...
 
std::unique_ptr< Gtransfo > lsst::jointcal::gtransfoRead (const std::string &fileName)
 The virtual constructor from a file. More...
 
std::unique_ptr< Gtransfo > lsst::jointcal::gtransfoRead (std::istream &s)
 The virtual constructor from a file. More...