LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
makeMatchStatistics.h
Go to the documentation of this file.
1 // -*- LSST-C++ -*-
2 
3 /*
4  * LSST Data Management System
5  * Copyright 2015 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 MEAS_ASTROM_MAKE_MATCH_STATISTICS_H
26 #define MEAS_ASTROM_MAKE_MATCH_STATISTICS_H
27 
28 #include <vector>
29 
30 #include "lsst/afw/image/Wcs.h"
32 #include "lsst/afw/table/Match.h"
33 
34 
35 namespace lsst {
36 namespace meas {
37 namespace astrom {
38 
49 template<typename MatchT>
50 afw::math::Statistics makeMatchStatistics(
51  std::vector<MatchT> const & matchList,
52  int const flags,
53  afw::math::StatisticsControl const & sctrl = afw::math::StatisticsControl()
54 );
55 
67 template<typename MatchT>
68 afw::math::Statistics makeMatchStatisticsInPixels(
69  afw::image::Wcs const & wcs,
70  std::vector<MatchT> const & matchList,
71  int const flags,
72  afw::math::StatisticsControl const & sctrl = afw::math::StatisticsControl()
73 );
74 
86 template<typename MatchT>
87 afw::math::Statistics makeMatchStatisticsInRadians(
88  afw::image::Wcs const & wcs,
89  std::vector<MatchT> const & matchList,
90  int const flags,
91  afw::math::StatisticsControl const & sctrl = afw::math::StatisticsControl()
92 );
93 
94 }}}
95 
96 #endif
afw::math::Statistics makeMatchStatistics(std::vector< MatchT > const &matchList, int const flags, afw::math::StatisticsControl const &sctrl=afw::math::StatisticsControl())
tbl::Key< int > wcs
afw::math::Statistics makeMatchStatisticsInPixels(afw::image::Wcs const &wcs, std::vector< MatchT > const &matchList, int const flags, afw::math::StatisticsControl const &sctrl=afw::math::StatisticsControl())
lsst::afw::image::Wcs Wcs
Definition: Wcs.cc:60
afw::math::Statistics makeMatchStatisticsInRadians(afw::image::Wcs const &wcs, std::vector< MatchT > const &matchList, int const flags, afw::math::StatisticsControl const &sctrl=afw::math::StatisticsControl())
Compute Image Statistics.