LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Classes | |
struct | MatchOptimisticBControl |
class | OutlierRejectionControl |
Control object for outlier rejection in ScaledPolynomialTransformFitter. More... | |
class | PolynomialTransform |
A 2-d coordinate transform represented by a pair of standard polynomials (one for each coordinate). More... | |
struct | ProxyPair |
struct | RecordProxy |
A wrapper around a SimpleRecord or SourceRecord that allows us to record a pixel position in a way that is independent of the record type. More... | |
class | ScaledPolynomialTransform |
A 2-d coordinate transform represented by a lazy composition of an AffineTransform, a PolynomialTransform, and another AffineTransform. More... | |
class | ScaledPolynomialTransformFitter |
A fitter class for scaled polynomial transforms. More... | |
class | SipForwardTransform |
A transform that maps pixel coordinates to intermediate world coordinates according to the SIP convention. More... | |
class | SipReverseTransform |
A transform that maps intermediate world coordinates to pixel coordinates according to the SIP convention. More... | |
class | SipTransformBase |
Base class for SIP transform objects. More... | |
Typedefs | |
typedef std::vector< RecordProxy > | ProxyVector |
Definition at line 52 of file matchOptimisticB.h.
PolynomialTransform lsst::meas::astrom::compose | ( | geom::AffineTransform const & | t1, |
PolynomialTransform const & | t2 | ||
) |
Return a PolynomialTransform that is equivalent to the composition t1(t2())
The returned composition would be exact in ideal arithmetic, but may suffer from significant round-off error for high-order polynomials.
Definition at line 214 of file PolynomialTransform.cc.
PolynomialTransform lsst::meas::astrom::compose | ( | PolynomialTransform const & | t1, |
geom::AffineTransform const & | t2 | ||
) |
Return a PolynomialTransform that is equivalent to the composition t1(t2())
The returned composition would be exact in ideal arithmetic, but may suffer from significant round-off error for high-order polynomials.
Definition at line 225 of file PolynomialTransform.cc.
afw::math::Statistics lsst::meas::astrom::makeMatchStatistics | ( | std::vector< MatchT > const & | matchList, |
int const | flags, | ||
afw::math::StatisticsControl const & | sctrl = afw::math::StatisticsControl() |
||
) |
Compute statistics of the distance field of a match list.
[in] | matchList | list of matchList between reference objects and sources; fields read:
|
[in] | flags | what to calculate; OR constants such as lsst::afw::math::MEAN, MEANCLIP, STDDEV, MEDIAN, defined in lsst/afw/math/Statitics.h's Property enum |
[in] | sctrl | statistics configuration |
Definition at line 33 of file makeMatchStatistics.cc.
template afw::math::Statistics lsst::meas::astrom::makeMatchStatistics< afw::table::ReferenceMatch > | ( | std::vector< afw::table::ReferenceMatch > const & | matchList, |
int const | flags, | ||
afw::math::StatisticsControl const & | sctrl | ||
) |
template afw::math::Statistics lsst::meas::astrom::makeMatchStatistics< afw::table::SourceMatch > | ( | std::vector< afw::table::SourceMatch > const & | matchList, |
int const | flags, | ||
afw::math::StatisticsControl const & | sctrl | ||
) |
afw::math::Statistics lsst::meas::astrom::makeMatchStatisticsInPixels | ( | afw::geom::SkyWcs const & | wcs, |
std::vector< MatchT > const & | matchList, | ||
int const | flags, | ||
afw::math::StatisticsControl const & | sctrl = afw::math::StatisticsControl() |
||
) |
Compute statistics of on-detector radial separation for a match list, in pixels.
[in] | wcs | WCS describing pixel to sky transformation |
[in] | matchList | list of matchList between reference objects and sources; fields read:
|
[in] | flags | what to calculate; OR constants such as lsst::afw::math::MEAN, MEANCLIP, STDDEV, MEDIAN, defined in lsst/afw/math/Statitics.h's Property enum |
[in] | sctrl | statistics configuration |
Definition at line 48 of file makeMatchStatistics.cc.
template afw::math::Statistics lsst::meas::astrom::makeMatchStatisticsInPixels< afw::table::ReferenceMatch > | ( | afw::geom::SkyWcs const & | wcs, |
std::vector< afw::table::ReferenceMatch > const & | matchList, | ||
int const | flags, | ||
afw::math::StatisticsControl const & | sctrl | ||
) |
template afw::math::Statistics lsst::meas::astrom::makeMatchStatisticsInPixels< afw::table::SourceMatch > | ( | afw::geom::SkyWcs const & | wcs, |
std::vector< afw::table::SourceMatch > const & | matchList, | ||
int const | flags, | ||
afw::math::StatisticsControl const & | sctrl | ||
) |
afw::math::Statistics lsst::meas::astrom::makeMatchStatisticsInRadians | ( | afw::geom::SkyWcs const & | wcs, |
std::vector< MatchT > const & | matchList, | ||
int const | flags, | ||
afw::math::StatisticsControl const & | sctrl = afw::math::StatisticsControl() |
||
) |
Compute statistics of on-sky radial separation for a match list, in radians.
[in] | wcs | WCS describing pixel to sky transformation |
[in] | matchList | list of matchList between reference objects and sources; fields read:
|
[in] | flags | what to calculate; OR constants such as lsst::afw::math::MEAN, MEANCLIP, STDDEV, MEDIAN, defined in lsst/afw/math/Statitics.h's Property enum |
[in] | sctrl | statistics configuration |
Definition at line 71 of file makeMatchStatistics.cc.
template afw::math::Statistics lsst::meas::astrom::makeMatchStatisticsInRadians< afw::table::ReferenceMatch > | ( | afw::geom::SkyWcs const & | wcs, |
std::vector< afw::table::ReferenceMatch > const & | matchList, | ||
int const | flags, | ||
afw::math::StatisticsControl const & | sctrl | ||
) |
template afw::math::Statistics lsst::meas::astrom::makeMatchStatisticsInRadians< afw::table::SourceMatch > | ( | afw::geom::SkyWcs const & | wcs, |
std::vector< afw::table::SourceMatch > const & | matchList, | ||
int const | flags, | ||
afw::math::StatisticsControl const & | sctrl | ||
) |
ProxyVector lsst::meas::astrom::makeProxies | ( | afw::table::SimpleCatalog const & | posRefCat, |
afw::geom::SkyWcs const & | tanWcs | ||
) |
Definition at line 448 of file matchOptimisticB.cc.
ProxyVector lsst::meas::astrom::makeProxies | ( | afw::table::SourceCatalog const & | sourceCat, |
afw::geom::SkyWcs const & | distortedWcs, | ||
afw::geom::SkyWcs const & | tanWcs | ||
) |
Definition at line 436 of file matchOptimisticB.cc.
std::shared_ptr< afw::geom::SkyWcs > lsst::meas::astrom::makeWcs | ( | SipForwardTransform const & | sipForward, |
SipReverseTransform const & | sipReverse, | ||
geom::SpherePoint const & | skyOrigin | ||
) |
Create a new TAN SIP Wcs from a pair of SIP transforms and the sky origin.
[in] | sipForward | Mapping from pixel coordinates to intermediate world coordinates. |
[in] | sipReverse | Mapping from intermediate world coordinates to pixel coordinates. |
[in] | skyOrigin | ICRS position of the gnomonic projection that maps sky coordinates to intermediate world coordinates (CRVAL). |
pex::exceptions::InvalidParameterError | if the forward and reverse SIP transforms have different CRPIX values or CD matrices. |
Definition at line 148 of file SipTransform.cc.
afwTable::ReferenceMatchVector lsst::meas::astrom::matchOptimisticB | ( | afw::table::SimpleCatalog const & | posRefCat, |
afw::table::SourceCatalog const & | sourceCat, | ||
MatchOptimisticBControl const & | control, | ||
afw::geom::SkyWcs const & | wcs, | ||
int | posRefBegInd = 0 , |
||
bool | verbose = false |
||
) |
Match sources to stars in a position reference catalog using optimistic pattern matching B.
Optimistic Pattern Matching is described in V. Tabur 2007, PASA, 24, 189-198 "Fast Algorithms for Matching CCD Images to a Stellar Catalogue"
[in] | posRefCat | catalog of position reference stars; fields read:
|
[in] | sourceCat | catalog of detected sources; fields read:
|
[in] | wcs | estimated WCS |
[in] | control | control object |
[in] | posRefBegInd | index of first start to use in posRefCat |
[in] | verbose | true to print diagnostic information to std::cout |
Definition at line 459 of file matchOptimisticB.cc.
lsst::meas::astrom::PYBIND11_MODULE | ( | makeMatchStatistics | , |
mod | |||
) |
Definition at line 47 of file makeMatchStatistics.cc.
lsst::meas::astrom::PYBIND11_MODULE | ( | matchOptimisticB | , |
mod | |||
) |
Definition at line 91 of file matchOptimisticB.cc.
lsst::meas::astrom::PYBIND11_MODULE | ( | polynomialTransform | , |
mod | |||
) |
Definition at line 102 of file polynomialTransform.cc.
lsst::meas::astrom::PYBIND11_MODULE | ( | scaledPolynomialTransformFitter | , |
mod | |||
) |
Definition at line 71 of file scaledPolynomialTransformFitter.cc.
lsst::meas::astrom::PYBIND11_MODULE | ( | sipTransform | , |
mod | |||
) |
Definition at line 104 of file sipTransform.cc.
std::shared_ptr< afw::geom::SkyWcs > lsst::meas::astrom::rotateWcsPixelsBy90 | ( | afw::geom::SkyWcs const & | wcs, |
int | nQuarter, | ||
geom::Extent2I const & | dimensions | ||
) |
Return a new SkyWcs that represents a rotation of the image it corresponds to about the image's center.
[in] | wcs | Original SkyWcs to be rotated. |
[in] | nQuarter | Number of 90 degree rotations (positive is counterclockwise). |
[in] | dimensions | Width and height of the image. |
Definition at line 179 of file SipTransform.cc.
std::shared_ptr< afw::geom::SkyWcs > lsst::meas::astrom::transformWcsPixels | ( | afw::geom::SkyWcs const & | wcs, |
geom::AffineTransform const & | s | ||
) |
Create a new SkyWcs whose pixel coordinate system has been transformed via an affine transform.
[in] | wcs | Original SkyWcs object. |
[in] | s | AffineTransform to apply to the pixel coordinate system. |
sky
and pixel coordinates pixel
. Definition at line 173 of file SipTransform.cc.