SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
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
28namespace 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
void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
Auto photometry flux and magnitude.
The SourceInterface is an abstract "source" that has properties attached to it.
const PropertyType & getProperty(unsigned int index=0) const
Convenience template method to call getProperty() with a more user-friendly syntax.
T emplace_back(T... args)