SourceXtractorPlusPlus  0.13
Please provide a description of the project.
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 
31 namespace SourceXtractor {
32 
37 class AutoPhotometry : public Property {
38 public:
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 
60  SeFloat getMagError() const {
61  return m_mag_error;
62  }
63 
64  Flags getFlags() const {
65  return m_flags;
66  }
67 
68 private:
74 };
75 
76 } /* namespace SourceXtractor */
77 
78 #endif /* _SEIMPLEMENTATION_PLUGIN_AUTOPHOTOMETRY_AUTOPHOTOMETRY_H_ */
SourceXtractor::AutoPhotometry::m_flux_error
SeFloat m_flux_error
Definition: AutoPhotometry.h:70
SourceXtractor::Property
Base class for all Properties. (has no actual content)
Definition: Property.h:33
Types.h
SourceXtractor::AutoPhotometry::~AutoPhotometry
virtual ~AutoPhotometry()=default
Destructor.
SourceXtractor::AutoPhotometry::getFlux
SeFloat getFlux() const
Definition: AutoPhotometry.h:48
SourceXtractor::AutoPhotometry
Auto photometry flux and magnitude.
Definition: AutoPhotometry.h:37
SourceXtractor::SeFloat
SeFloat32 SeFloat
Definition: Types.h:32
SourceXtractor::Flags
Flags
Flagging of bad sources.
Definition: SourceFlags.h:34
SourceFlags.h
SourceXtractor
Definition: Aperture.h:30
SourceXtractor::AutoPhotometry::getMagError
SeFloat getMagError() const
Definition: AutoPhotometry.h:60
Property.h
SourceXtractor::AutoPhotometry::getMag
SeFloat getMag() const
Definition: AutoPhotometry.h:56
SourceXtractor::AutoPhotometry::getFlags
Flags getFlags() const
Definition: AutoPhotometry.h:64
SourceXtractor::AutoPhotometry::getFluxError
SeFloat getFluxError() const
Definition: AutoPhotometry.h:52
SourceXtractor::AutoPhotometry::m_mag
SeFloat m_mag
Definition: AutoPhotometry.h:71
SourceXtractor::AutoPhotometry::m_mag_error
SeFloat m_mag_error
Definition: AutoPhotometry.h:72
SourceXtractor::AutoPhotometry::m_flux
SeFloat m_flux
Definition: AutoPhotometry.h:69
SourceXtractor::AutoPhotometry::m_flags
Flags m_flags
Definition: AutoPhotometry.h:73
SourceXtractor::AutoPhotometry::AutoPhotometry
AutoPhotometry(SeFloat flux, SeFloat flux_error, SeFloat mag, SeFloat mag_error, Flags flags)
Definition: AutoPhotometry.h:45