LSSTApplications  18.1.0
LSSTDataManagementBasePackage
wcsUtils.h
Go to the documentation of this file.
1 // -*- lsst-c++ -*-
2 
3 /*
4  * LSST Data Management System
5  * Copyright 2018 LSST Corporation.
6  *
7  * This product includes software developed by the
8  * LSST Project (http://www.lsst.org/).
9  *
10  * This program is free software: you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation, either version 3 of the License, or
13  * (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the LSST License Statement and
21  * the GNU General Public License along with this program. If not,
22  * see <http://www.lsstcorp.org/LegalNotices/>.
23  */
24 
25 #ifndef LSST_AFW_TABLE_WCSUTILS_H
26 #define LSST_AFW_TABLE_WCSUTILS_H
27 
28 #include "lsst/afw/geom/SkyWcs.h"
29 
30 namespace lsst {
31 namespace afw {
32 namespace table {
33 
47 template <typename ReferenceCollection>
48 void updateRefCentroids(geom::SkyWcs const& wcs, ReferenceCollection& refList);
49 
62 template <typename SourceCollection>
63 void updateSourceCoords(geom::SkyWcs const& wcs, SourceCollection& sourceList);
64 
65 } // namespace table
66 } // namespace afw
67 } // namespace lsst
68 
69 #endif // #ifndef LSST_AFW_TABLE_WCSUTILS_H
void updateRefCentroids(geom::SkyWcs const &wcs, ReferenceCollection &refList)
Update centroids in a collection of reference objects.
Definition: wcsUtils.cc:73
table::Key< table::Array< std::uint8_t > > wcs
Definition: SkyWcs.cc:71
void updateSourceCoords(geom::SkyWcs const &wcs, SourceCollection &sourceList)
Update sky coordinates in a collection of source objects.
Definition: wcsUtils.cc:96
A base class for image defects.