Class AstrometryTransformSkyWcs

Inheritance Relationships

Base Type

Class Documentation

class AstrometryTransformSkyWcs : public lsst::jointcal::AstrometryTransform

A AstrometryTransform that holds a SkyWcs

This is intended to hold the initial estimate for the WCS. It need not be TAN-SIP, nor exactly representable as a FITS WCS.

AstrometryTransformSkyWcs does not inherit from BaseTanWcs for two reasons:

  • There is no need.

  • It is not clear how to implement all of the BaseTanWcs interface, especially corrections.

Public Functions

AstrometryTransformSkyWcs(std::shared_ptr<afw::geom::SkyWcs> skyWcs)
void apply(const double xIn, const double yIn, double &xOut, double &yOut) const
void dump(std::ostream &stream = std::cout) const

dumps the transform coefficients to stream.

double fit(const StarMatchList &starMatchList)

Not implemented; throws pex::exceptions::LogicError.

std::unique_ptr<AstrometryTransform> clone() const

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

std::shared_ptr<afw::geom::SkyWcs> getSkyWcs() const