SourceXtractorPlusPlus  0.13
Please provide a description of the project.
AperturePhotometryArrayTask.cpp
Go to the documentation of this file.
1 
17 /*
18  * AperturePhotometryArrayTask.cpp
19  *
20  * Created on: Nov 23, 2018
21  * Author: Alejandro Alvarez Ayllon
22  */
23 
27 
28 namespace SourceXtractor {
29 
32  for (auto i : m_aperture_instances) {
33  measurements.emplace_back(source.getProperty<AperturePhotometry>(i));
34  }
36 }
37 
38 } // end SourceXtractor
SourceXtractor::AperturePhotometryArrayTask::computeProperties
virtual void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
Definition: AperturePhotometryArrayTask.cpp:30
std::vector
STL class.
AperturePhotometryArrayTask.h
AperturePhotometryArray.h
SourceXtractor
Definition: Aperture.h:30
SourceXtractor::SourceInterface::setIndexedProperty
void setIndexedProperty(std::size_t index, Args... args)
Convenience template method to call setProperty() with a more user-friendly syntax.
Definition: SourceInterface.h:64
SourceXtractor::AperturePhotometry
Aperture photometry fluxes and magnitudes.
Definition: AperturePhotometry.h:38
AperturePhotometry.h
SourceXtractor::AperturePhotometryArray
Merges all AperturePhotometries into a multidimensional property.
Definition: AperturePhotometryArray.h:40
std::vector::emplace_back
T emplace_back(T... args)
SourceXtractor::SourceInterface::getProperty
const PropertyType & getProperty(unsigned int index=0) const
Convenience template method to call getProperty() with a more user-friendly syntax.
Definition: SourceInterface.h:57
SourceXtractor::AperturePhotometryArrayTask::m_instance
unsigned m_instance
Definition: AperturePhotometryArrayTask.h:44
SourceXtractor::SourceInterface
The SourceInterface is an abstract "source" that has properties attached to it.
Definition: SourceInterface.h:46
SourceXtractor::AperturePhotometryArrayTask::m_aperture_instances
std::vector< unsigned > m_aperture_instances
Definition: AperturePhotometryArrayTask.h:43