lsst.jointcal
15.0-6-ge2d9597+9
|
just here to provide a specialized constructor, and fit. More...
#include <Gtransfo.h>
Public Member Functions | |
GtransfoLinRot () | |
GtransfoLinRot (const double angleRad, const Point *center=nullptr, const double scaleFactor=1.0) | |
double | fit (const StarMatchList &starMatchList) |
guess what More... | |
int | getNpar () const |
total number of parameters More... | |
GtransfoLin | operator* (const GtransfoLin &right) const |
enables to combine linear tranformations: T1=T2*T3 is legal. More... | |
GtransfoPoly | operator* (const GtransfoPoly &right) const |
Composition (internal stuff in quadruple precision) 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... | |
std::unique_ptr< Gtransfo > | clone () const |
returns a copy (allocated by new) of the transformation. More... | |
std::unique_ptr< Gtransfo > | inverseTransfo (const double precision, const Frame ®ion) 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 |
void | apply (const double xIn, const double yIn, double &xOut, double &yOut) const |
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... | |
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... | |
GtransfoPoly | operator+ (const GtransfoPoly &right) const |
Addition. More... | |
GtransfoPoly | operator- (const GtransfoPoly &right) const |
Subtraction. More... | |
std::unique_ptr< Gtransfo > | reduceCompo (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 | write (const std::string &fileName) const |
void | read (std::istream &s) |
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 (Eigen::VectorXd const &delta) |
virtual std::unique_ptr< Gtransfo > | roughInverse (const Frame ®ion) const |
Rough inverse. More... | |
Protected Member Functions | |
double & | a11 () |
double & | a12 () |
double & | a21 () |
double & | a22 () |
double & | dx () |
double & | dy () |
just here to provide a specialized constructor, and fit.
Definition at line 371 of file Gtransfo.h.
|
inline |
Definition at line 375 of file Gtransfo.h.
lsst::jointcal::GtransfoLinRot::GtransfoLinRot | ( | const double | angleRad, |
const Point * | center = nullptr , |
||
const double | scaleFactor = 1.0 |
||
) |
Definition at line 1169 of file Gtransfo.cc.
|
inlineinherited |
Definition at line 60 of file Gtransfo.h.
|
inlineinherited |
Definition at line 332 of file Gtransfo.h.
|
inlineprotectedinherited |
Definition at line 340 of file Gtransfo.h.
|
inlineinherited |
Definition at line 333 of file Gtransfo.h.
|
inlineprotectedinherited |
Definition at line 341 of file Gtransfo.h.
|
inlineinherited |
Definition at line 334 of file Gtransfo.h.
|
inlineprotectedinherited |
Definition at line 342 of file Gtransfo.h.
|
inlineinherited |
Definition at line 335 of file Gtransfo.h.
|
inlineprotectedinherited |
Definition at line 343 of file Gtransfo.h.
applies the tranfo to in and writes into out. Is indeed virtual.
Definition at line 47 of file Gtransfo.h.
All these apply(..) shadow the virtual one in derived classes, unless one writes "using Gtransfo::apply".
Definition at line 51 of file Gtransfo.h.
|
virtualinherited |
Implements lsst::jointcal::Gtransfo.
Definition at line 486 of file Gtransfo.cc.
|
inlinevirtualinherited |
returns a copy (allocated by new) of the transformation.
Reimplemented from lsst::jointcal::GtransfoPoly.
Definition at line 328 of file Gtransfo.h.
|
inherited |
access to coefficients (read only)
Definition at line 651 of file Gtransfo.cc.
|
inherited |
write access
Definition at line 659 of file Gtransfo.cc.
|
inherited |
read access, zero if beyond degree
Definition at line 664 of file Gtransfo.cc.
|
virtualinherited |
specialised analytic routine
Reimplemented from lsst::jointcal::GtransfoPoly.
Definition at line 1082 of file Gtransfo.cc.
|
inherited |
Definition at line 719 of file Gtransfo.cc.
|
virtualinherited |
print out of coefficients in a readable form.
Implements lsst::jointcal::Gtransfo.
Definition at line 703 of file Gtransfo.cc.
|
inlineinherited |
Definition at line 336 of file Gtransfo.h.
|
inlineprotectedinherited |
Definition at line 344 of file Gtransfo.h.
|
inlineinherited |
Definition at line 337 of file Gtransfo.h.
|
inlineprotectedinherited |
Definition at line 345 of file Gtransfo.h.
|
virtual |
guess what
Reimplemented from lsst::jointcal::GtransfoPoly.
Definition at line 1120 of file Gtransfo.cc.
|
inlineinherited |
returns degree
Definition at line 218 of file Gtransfo.h.
|
inlinevirtualinherited |
returns the local jacobian.
Definition at line 77 of file Gtransfo.h.
|
virtualinherited |
returns the local jacobian.
Definition at line 57 of file Gtransfo.cc.
|
inlinevirtual |
total number of parameters
Reimplemented from lsst::jointcal::GtransfoPoly.
Definition at line 379 of file Gtransfo.h.
|
inherited |
params should be at least Npar() long
Definition at line 170 of file Gtransfo.cc.
|
virtualinherited |
returns an inverse transfo. Numerical if not overloaded.
precision and region refer to the "input" side of this, and hence to the output side of the returned Gtransfo.
Reimplemented from lsst::jointcal::Gtransfo.
Definition at line 1116 of file Gtransfo.cc.
|
inherited |
returns the inverse: T1 = T2.invert();
Definition at line 1090 of file Gtransfo.cc.
|
virtualinherited |
linear (local) approximation.
Reimplemented from lsst::jointcal::Gtransfo.
Definition at line 1088 of file Gtransfo.cc.
|
inherited |
Definition at line 175 of file Gtransfo.cc.
|
inherited |
Composition (internal stuff in quadruple precision)
Definition at line 944 of file Gtransfo.cc.
|
inherited |
enables to combine linear tranformations: T1=T2*T3 is legal.
Definition at line 1067 of file Gtransfo.cc.
|
inherited |
Addition.
Definition at line 965 of file Gtransfo.cc.
|
inherited |
Subtraction.
Definition at line 978 of file Gtransfo.cc.
|
virtualinherited |
Derivative w.r.t parameters.
Derivatives should be al least 2*NPar long. first Npar, for x, last Npar for y.
Reimplemented from lsst::jointcal::Gtransfo.
Definition at line 683 of file Gtransfo.cc.
|
virtualinherited |
Reimplemented from lsst::jointcal::Gtransfo.
Definition at line 673 of file Gtransfo.cc.
|
virtualinherited |
Reimplemented from lsst::jointcal::Gtransfo.
Definition at line 678 of file Gtransfo.cc.
|
inherited |
Definition at line 998 of file Gtransfo.cc.
|
virtualinherited |
to be overloaded by derived classes if they can really "reduce" the composition (e.g.
composition of Polynomial can be reduced)
Reimplemented from lsst::jointcal::Gtransfo.
Definition at line 835 of file Gtransfo.cc.
|
virtualinherited |
Rough inverse.
Stored by the numerical inverter to guess starting point for the trials. Just here to enable overloading.
Reimplemented in lsst::jointcal::TanRaDec2Pix, lsst::jointcal::TanPix2RaDec, and lsst::jointcal::GtransfoInverse.
Definition at line 150 of file Gtransfo.cc.
|
virtualinherited |
transform errors (represented as double[3] in order V(xx),V(yy),Cov(xy))
Definition at line 117 of file Gtransfo.cc.
|
virtualinherited |
a mix of apply and Derivative
Reimplemented from lsst::jointcal::Gtransfo.
Definition at line 567 of file Gtransfo.cc.
|
inlineinherited |
allows to write MyTransfo(MyStar)
Definition at line 74 of file Gtransfo.h.
|
inherited |
Definition at line 199 of file Gtransfo.cc.
|
virtualinherited |
Reimplemented from lsst::jointcal::Gtransfo.
Definition at line 988 of file Gtransfo.cc.