SourceXtractorPlusPlus  0.15
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AutoPhotometryArrayTask.cpp
Go to the documentation of this file.
1 
17 /*
18  * AutoPhotometryArrayTask.cpp
19  *
20  * Created on: Nov 23, 2018
21  * Author: Alejandro Alvarez Ayllon
22  */
23 
26 
27 
28 namespace SourceXtractor {
29 
30 
32  std::vector<AutoPhotometry> measurements;
33  for (auto img : m_images) {
34  measurements.emplace_back(source.getProperty<AutoPhotometry>(img));
35  }
36  source.setProperty<AutoPhotometryArray>(measurements);
37 }
38 
39 
40 } // end SourceXtractor
const PropertyType & getProperty(unsigned int index=0) const
Convenience template method to call getProperty() with a more user-friendly syntax.
Auto photometry flux and magnitude.
virtual void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
STL class.
The SourceInterface is an abstract &quot;source&quot; that has properties attached to it.
T emplace_back(T...args)