lsst.jointcal  master-g9041cab851+13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
lsst::jointcal::GtransfoLinScale Class Reference

just here to provide specialized constructors. GtransfoLin fit routine. More...

#include <Gtransfo.h>

Inheritance diagram for lsst::jointcal::GtransfoLinScale:
lsst::jointcal::GtransfoLin lsst::jointcal::GtransfoPoly lsst::jointcal::Gtransfo

Public Member Functions

 GtransfoLinScale (const double scale=1)
 
 GtransfoLinScale (const double scaleX, const double scaleY)
 
int getNpar () const
 total number of parameters More...
 
- Public Member Functions inherited from lsst::jointcal::GtransfoLin
 GtransfoLin ()
 the default constructor constructs the do-nothing transformation. More...
 
 GtransfoLin (const GtransfoPoly &gtransfoPoly)
 This triggers an exception if P.degree() != 1. More...
 
GtransfoLin operator* (const GtransfoLin &right) const
 enables to combine linear tranformations: T1=T2*T3 is legal. More...
 
GtransfoLin invert () const
 returns the inverse: T1 = T2.invert(); More...
 
void computeDerivative (const Point &where, GtransfoLin &derivative, const double step=0.01) const
 specialised analytic routine More...
 
GtransfoLin linearApproximation (const Point &where, const double step=0.01) const
 linear (local) approximation. More...
 
 GtransfoLin (const double ox, const double oy, const double aa11, const double aa12, const double aa21, const double aa22)
 the constructor that enables to set all parameters independently. Not very useful. More...
 
 GtransfoLin (const GtransfoIdentity &)
 Handy converter: More...
 
std::unique_ptr< Gtransfoclone () const
 returns a copy (allocated by new) of the transformation. More...
 
std::unique_ptr< GtransfoinverseTransfo (const double precision, const Frame &region) const
 returns an inverse transfo. Numerical if not overloaded. More...
 
double A11 () const
 
double A12 () const
 
double A21 () const
 
double A22 () const
 
double Dx () const
 
double Dy () const
 
- Public Member Functions inherited from lsst::jointcal::GtransfoPoly
 GtransfoPoly (const unsigned degree=1)
 Default transfo : identity for all degrees (>=1 ). More...
 
 GtransfoPoly (const Gtransfo *gtransfo, const Frame &frame, unsigned degree, unsigned nPoint=1000)
 Constructs a "polynomial image" from an existing transfo, over a specified domain. More...
 
void setDegree (const unsigned degree)
 
void apply (const double xIn, const double yIn, double &xOut, double &yOut) const
 
virtual void transformPosAndErrors (const FatPoint &in, FatPoint &out) const
 a mix of apply and Derivative More...
 
unsigned getDegree () const
 returns degree More...
 
void dump (std::ostream &stream=std::cout) const
 print out of coefficients in a readable form. More...
 
double fit (const StarMatchList &starMatchList)
 guess what More...
 
GtransfoPoly operator* (const GtransfoPoly &right) const
 Composition (internal stuff in quadruple precision) More...
 
GtransfoPoly operator+ (const GtransfoPoly &right) const
 Addition. More...
 
GtransfoPoly operator- (const GtransfoPoly &right) const
 Subtraction. More...
 
std::unique_ptr< GtransforeduceCompo (const Gtransfo *right) const
 to be overloaded by derived classes if they can really "reduce" the composition (e.g. More...
 
double coeff (const unsigned powX, const unsigned powY, const unsigned whichCoord) const
 access to coefficients (read only) More...
 
double & coeff (const unsigned powX, const unsigned powY, const unsigned whichCoord)
 write access More...
 
double coeffOrZero (const unsigned powX, const unsigned powY, const unsigned whichCoord) const
 read access, zero if beyond degree More...
 
double determinant () const
 
double paramRef (const int i) const
 
double & paramRef (const int i)
 
void paramDerivatives (const Point &where, double *dx, double *dy) const
 Derivative w.r.t parameters. More...
 
void write (std::ostream &s) const
 
void read (std::istream &s)
 
- Public Member Functions inherited from lsst::jointcal::Gtransfo
void apply (const Point &in, Point &out) const
 applies the tranfo to in and writes into out. Is indeed virtual. More...
 
Point apply (const Point &in) const
 All these apply(..) shadow the virtual one in derived classes, unless one writes "using Gtransfo::apply". More...
 
std::string __str__ ()
 
void transformStar (FatPoint &in) const
 allows to write MyTransfo(MyStar) More...
 
virtual double getJacobian (const Point &point) const
 returns the local jacobian. More...
 
virtual double getJacobian (const double x, const double y) const
 returns the local jacobian. More...
 
virtual void transformErrors (const Point &where, const double *vIn, double *vOut) const
 transform errors (represented as double[3] in order V(xx),V(yy),Cov(xy)) More...
 
void getParams (double *params) const
 params should be at least Npar() long More...
 
void offsetParams (const double *params)
 
virtual std::unique_ptr< GtransforoughInverse (const Frame &region) const
 Rough inverse. More...
 
void write (const std::string &fileName) const
 
virtual ~Gtransfo ()
 

Additional Inherited Members

- Protected Member Functions inherited from lsst::jointcal::GtransfoLin
double & a11 ()
 
double & a12 ()
 
double & a21 ()
 
double & a22 ()
 
double & dx ()
 
double & dy ()
 

Detailed Description

just here to provide specialized constructors. GtransfoLin fit routine.

Definition at line 383 of file Gtransfo.h.

Constructor & Destructor Documentation

lsst::jointcal::GtransfoLinScale::GtransfoLinScale ( const double  scale = 1)
inline

Definition at line 387 of file Gtransfo.h.

lsst::jointcal::GtransfoLinScale::GtransfoLinScale ( const double  scaleX,
const double  scaleY 
)
inline

Definition at line 389 of file Gtransfo.h.

Member Function Documentation

int lsst::jointcal::GtransfoLinScale::getNpar ( ) const
inlinevirtual

total number of parameters

Reimplemented from lsst::jointcal::GtransfoPoly.

Definition at line 392 of file Gtransfo.h.


The documentation for this class was generated from the following file: