lsst.afw g714e0ed6de+196fb0684f
Loading...
Searching...
No Matches
wcsUtils.h File Reference

Go to the source code of this file.

Namespaces

namespace  lsst
 
namespace  lsst::afw
 
namespace  lsst::afw::table
 

Functions

template<typename ReferenceCollection>
void lsst::afw::table::updateRefCentroids (geom::SkyWcs const &wcs, ReferenceCollection &refList)
 Update centroids in a collection of reference objects.
 
template<typename SourceCollection>
void lsst::afw::table::updateSourceCoords (geom::SkyWcs const &wcs, SourceCollection &sourceList, bool include_covariance=true)
 Update sky coordinates in a collection of source objects.
 
template<typename t>
Eigen::Matrix< t, 2, 2 > lsst::afw::table::calculateCoordCovariance (geom::SkyWcs const &wcs, lsst::geom::Point2D center, Eigen::Matrix< t, 2, 2 > err, double factor=lsst::geom::PI/180.0)
 Calculate covariance for sky coordinates given a pixel centroid and errors.
 
std::pair< std::tuple< double, double >, std::tuple< double, double, double > > lsst::afw::table::convertCentroid (geom::SkyWcs const &wcs, double x, double y, double xErr, double yErr, double xy_covariance=0)
 Convert an x/y centroid with errors into RA/dec.