Class AstrometryTransformLinear

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class AstrometryTransformLinear : public lsst::jointcal::AstrometryTransformPolynomial

implements the linear transformations (6 real coefficients).

Subclassed by lsst::jointcal::AstrometryTransformLinearRot, lsst::jointcal::AstrometryTransformLinearScale, lsst::jointcal::AstrometryTransformLinearShift

Public Functions

AstrometryTransformLinear()

the default constructor constructs the do-nothing transformation.

AstrometryTransformLinear(AstrometryTransformPolynomial const &transform)

This triggers an exception if P.getOrder() != 1.

AstrometryTransformLinear operator*(AstrometryTransformLinear const &right) const

enables to combine linear tranformations: T1=T2*T3 is legal.

AstrometryTransformLinear inverted() const

returns the inverse: T1 = T2.inverted();

void computeDerivative(Point const &where, AstrometryTransformLinear &derivative, const double step = 0.01) const

specialised analytic routine

AstrometryTransformLinear linearApproximation(Point const &where, const double step = 0.01) const

linear (local) approximation.

AstrometryTransformLinear(const double ox, const double oy, const double aa11, const double aa12, const double aa21, const double aa22)

Construct a AstrometryTransformLinear from parameters.

AstrometryTransformLinear(AstrometryTransformIdentity const&)

Handy converter:

std::unique_ptr<AstrometryTransform> clone() const

returns a copy (allocated by new) of the transformation.

std::unique_ptr<AstrometryTransform> inverseTransform(const double precision, const Frame &region) const

returns an inverse transform. Numerical if not overloaded.

precision and region refer to the “input” side of this, and hence to the output side of the returned AstrometryTransform.

double A11() const
double A12() const
double A21() const
double A22() const
double Dx() const
double Dy() const

Protected Functions

double &a11()
double &a12()
double &a21()
double &a22()
double &dx()
double &dy()

Friends

friend lsst::jointcal::AstrometryTransformLinear::AstrometryTransform
friend lsst::jointcal::AstrometryTransformLinear::AstrometryTransformIdentity
friend lsst::jointcal::AstrometryTransformLinear::AstrometryTransformPolynomial