SourceXtractorPlusPlus
0.13
Please provide a description of the project.
SEImplementation
SEImplementation
Plugin
AperturePhotometry
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
"
28
#include "
SEFramework/Property/Property.h
"
29
#include "
SEFramework/Source/SourceFlags.h
"
30
#include <vector>
31
32
namespace
SourceXtractor
{
33
38
class
AperturePhotometry
:
public
Property
{
39
public
:
40
44
virtual
~AperturePhotometry
() =
default
;
45
46
AperturePhotometry
(
const
std::vector<SeFloat>
&flux,
const
std::vector<SeFloat>
&flux_error,
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
51
const
std::vector<SeFloat>
&
getFluxes
()
const
{
52
return
m_flux
;
53
}
54
55
const
std::vector<SeFloat>
&
getFluxErrors
()
const
{
56
return
m_flux_error
;
57
}
58
59
const
std::vector<SeFloat>
&
getMags
()
const
{
60
return
m_mag
;
61
}
62
63
const
std::vector<SeFloat>
&
getMagErrors
()
const
{
64
return
m_mag_error
;
65
}
66
67
const
std::vector<Flags>
&
getFlags
()
const
{
68
return
m_flag
;
69
}
70
71
private
:
72
std::vector<SeFloat>
m_flux
;
73
std::vector<SeFloat>
m_flux_error
;
74
std::vector<SeFloat>
m_mag
;
75
std::vector<SeFloat>
m_mag_error
;
76
std::vector<Flags>
m_flag
;
77
};
78
79
}
/* namespace SourceXtractor */
80
81
#endif
/* _SEIMPLEMENTATION_PLUGIN_APERTUREPHOTOMETRY_APERTUREPHOTOMETRY_H_ */
SourceXtractor::AperturePhotometry::m_mag_error
std::vector< SeFloat > m_mag_error
Definition:
AperturePhotometry.h:75
SourceXtractor::Property
Base class for all Properties. (has no actual content)
Definition:
Property.h:33
SourceXtractor::AperturePhotometry::getMagErrors
const std::vector< SeFloat > & getMagErrors() const
Definition:
AperturePhotometry.h:63
Types.h
SourceXtractor::AperturePhotometry::m_flux_error
std::vector< SeFloat > m_flux_error
Definition:
AperturePhotometry.h:73
std::vector< SeFloat >
SourceXtractor::AperturePhotometry::getFluxErrors
const std::vector< SeFloat > & getFluxErrors() const
Definition:
AperturePhotometry.h:55
SourceFlags.h
SourceXtractor::AperturePhotometry::m_flag
std::vector< Flags > m_flag
Definition:
AperturePhotometry.h:76
SourceXtractor::AperturePhotometry::m_mag
std::vector< SeFloat > m_mag
Definition:
AperturePhotometry.h:74
SourceXtractor
Definition:
Aperture.h:30
Property.h
SourceXtractor::AperturePhotometry::getFluxes
const std::vector< SeFloat > & getFluxes() const
Definition:
AperturePhotometry.h:51
SourceXtractor::AperturePhotometry
Aperture photometry fluxes and magnitudes.
Definition:
AperturePhotometry.h:38
SourceXtractor::AperturePhotometry::m_flux
std::vector< SeFloat > m_flux
Definition:
AperturePhotometry.h:72
SourceXtractor::AperturePhotometry::~AperturePhotometry
virtual ~AperturePhotometry()=default
Destructor.
SourceXtractor::AperturePhotometry::getMags
const std::vector< SeFloat > & getMags() const
Definition:
AperturePhotometry.h:59
SourceXtractor::AperturePhotometry::getFlags
const std::vector< Flags > & getFlags() const
Definition:
AperturePhotometry.h:67
SourceXtractor::AperturePhotometry::AperturePhotometry
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)
Definition:
AperturePhotometry.h:46
Generated by
1.8.20