SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
AutoPhotometry.h
Go to the documentation of this file.
1
17/*
18 * AutoPhotometry.h
19 *
20 * Created on: Jul 18, 2018
21 * Author: mkuemmel@usm.lmu.de
22 */
23
24#ifndef _SEIMPLEMENTATION_PLUGIN_AUTOPHOTOMETRY_AUTOPHOTOMETRY_H_
25#define _SEIMPLEMENTATION_PLUGIN_AUTOPHOTOMETRY_AUTOPHOTOMETRY_H_
26
27#include "SEUtils/Types.h"
30
31namespace SourceXtractor {
32
37class AutoPhotometry : public Property {
38public:
39
43 virtual ~AutoPhotometry() = default;
44
45 AutoPhotometry(SeFloat flux, SeFloat flux_error, SeFloat mag, SeFloat mag_error, Flags flags)
46 : m_flux(flux), m_flux_error(flux_error), m_mag(mag), m_mag_error(mag_error), m_flags(flags) {}
47
48 SeFloat getFlux() const {
49 return m_flux;
50 }
51
53 return m_flux_error;
54 }
55
56 SeFloat getMag() const {
57 return m_mag;
58 }
59
61 return m_mag_error;
62 }
63
64 Flags getFlags() const {
65 return m_flags;
66 }
67
68private:
74};
75
76} /* namespace SourceXtractor */
77
78#endif /* _SEIMPLEMENTATION_PLUGIN_AUTOPHOTOMETRY_AUTOPHOTOMETRY_H_ */
AutoPhotometry(SeFloat flux, SeFloat flux_error, SeFloat mag, SeFloat mag_error, Flags flags)
virtual ~AutoPhotometry()=default
Destructor.
Base class for all Properties. (has no actual content).
Definition Property.h:33
Flags
Flagging of bad sources.
Definition SourceFlags.h:37
SeFloat32 SeFloat
Definition Types.h:32