SourceXtractorPlusPlus  0.15
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AperturePhotometry.h
Go to the documentation of this file.
1 
17 /*
18  * AperturePhotometry.h
19  *
20  * Created on: Sep 22, 2016
21  * Author: mschefer
22  */
23 
24 #ifndef _SEIMPLEMENTATION_PLUGIN_APERTUREPHOTOMETRY_APERTUREPHOTOMETRY_H_
25 #define _SEIMPLEMENTATION_PLUGIN_APERTUREPHOTOMETRY_APERTUREPHOTOMETRY_H_
26 
27 #include "SEUtils/Types.h"
30 #include <vector>
31 
32 namespace SourceXtractor {
33 
38 class AperturePhotometry : public Property {
39 public:
40 
44  virtual ~AperturePhotometry() = default;
45 
47  const std::vector<SeFloat> &mag, const std::vector<SeFloat> &mag_error,
48  const std::vector<Flags> &flag)
49  : m_flux(flux), m_flux_error(flux_error), m_mag(mag), m_mag_error(mag_error), m_flag(flag) {}
50 
52  return m_flux;
53  }
54 
56  return m_flux_error;
57  }
58 
59  const std::vector<SeFloat> &getMags() const {
60  return m_mag;
61  }
62 
64  return m_mag_error;
65  }
66 
67  const std::vector<Flags> &getFlags() const {
68  return m_flag;
69  }
70 
71 private:
77 };
78 
79 } /* namespace SourceXtractor */
80 
81 #endif /* _SEIMPLEMENTATION_PLUGIN_APERTUREPHOTOMETRY_APERTUREPHOTOMETRY_H_ */
AperturePhotometry(const std::vector< SeFloat > &flux, const std::vector< SeFloat > &flux_error, const std::vector< SeFloat > &mag, const std::vector< SeFloat > &mag_error, const std::vector< Flags > &flag)
Aperture photometry fluxes and magnitudes.
const std::vector< SeFloat > & getFluxes() const
Base class for all Properties. (has no actual content)
Definition: Property.h:33
const std::vector< SeFloat > & getFluxErrors() const
const std::vector< SeFloat > & getMags() const
const std::vector< Flags > & getFlags() const
virtual ~AperturePhotometry()=default
Destructor.
const std::vector< SeFloat > & getMagErrors() const