SourceXtractorPlusPlus  0.13
Please provide a description of the project.
Public Types | Public Member Functions | Private Attributes | List of all members
SourceXtractor::AperturePhotometryArray Class Reference

Merges all AperturePhotometries into a multidimensional property. More...

#include <AperturePhotometryArray.h>

Inheritance diagram for SourceXtractor::AperturePhotometryArray:
[legend]
Collaboration diagram for SourceXtractor::AperturePhotometryArray:
[legend]

Public Types

template<typename T >
using NdArray = Euclid::NdArray::NdArray< T >
 

Public Member Functions

virtual ~AperturePhotometryArray ()=default
 Destructor. More...
 
 AperturePhotometryArray (const std::vector< AperturePhotometry > &measurements)
 
const NdArray< SeFloat > & getFluxes () const
 
const NdArray< SeFloat > & getFluxErrors () const
 
const NdArray< SeFloat > & getMags () const
 
const NdArray< SeFloat > & getMagErrors () const
 
const NdArray< int64_t > & getFlags () const
 
- Public Member Functions inherited from SourceXtractor::Property
virtual ~Property ()=default
 

Private Attributes

std::unique_ptr< NdArray< SeFloat > > m_fluxes
 
std::unique_ptr< NdArray< SeFloat > > m_flux_errors
 
std::unique_ptr< NdArray< SeFloat > > m_mags
 
std::unique_ptr< NdArray< SeFloat > > m_mag_errors
 
std::unique_ptr< NdArray< int64_t > > m_flags
 

Detailed Description

Merges all AperturePhotometries into a multidimensional property.

Definition at line 40 of file AperturePhotometryArray.h.

Member Typedef Documentation

◆ NdArray

Definition at line 43 of file AperturePhotometryArray.h.

Constructor & Destructor Documentation

◆ ~AperturePhotometryArray()

virtual SourceXtractor::AperturePhotometryArray::~AperturePhotometryArray ( )
virtualdefault

Destructor.

◆ AperturePhotometryArray()

SourceXtractor::AperturePhotometryArray::AperturePhotometryArray ( const std::vector< AperturePhotometry > &  measurements)
inline

Definition at line 50 of file AperturePhotometryArray.h.

References Euclid::NdArray::NdArray< class >::at(), SourceXtractor::flags2long(), std::vector< T >::front(), m_flags, m_flux_errors, m_fluxes, m_mag_errors, m_mags, Euclid::make_unique(), and std::vector< T >::size().

Here is the call graph for this function:

Member Function Documentation

◆ getFlags()

const NdArray<int64_t>& SourceXtractor::AperturePhotometryArray::getFlags ( ) const
inline

Definition at line 92 of file AperturePhotometryArray.h.

References m_flags.

◆ getFluxErrors()

const NdArray<SeFloat>& SourceXtractor::AperturePhotometryArray::getFluxErrors ( ) const
inline

Definition at line 80 of file AperturePhotometryArray.h.

References m_flux_errors.

◆ getFluxes()

const NdArray<SeFloat>& SourceXtractor::AperturePhotometryArray::getFluxes ( ) const
inline

Definition at line 76 of file AperturePhotometryArray.h.

References m_fluxes.

◆ getMagErrors()

const NdArray<SeFloat>& SourceXtractor::AperturePhotometryArray::getMagErrors ( ) const
inline

Definition at line 88 of file AperturePhotometryArray.h.

References m_mag_errors.

◆ getMags()

const NdArray<SeFloat>& SourceXtractor::AperturePhotometryArray::getMags ( ) const
inline

Definition at line 84 of file AperturePhotometryArray.h.

References m_mags.

Member Data Documentation

◆ m_flags

std::unique_ptr<NdArray<int64_t> > SourceXtractor::AperturePhotometryArray::m_flags
private

Definition at line 101 of file AperturePhotometryArray.h.

Referenced by AperturePhotometryArray(), and getFlags().

◆ m_flux_errors

std::unique_ptr<NdArray<SeFloat> > SourceXtractor::AperturePhotometryArray::m_flux_errors
private

Definition at line 98 of file AperturePhotometryArray.h.

Referenced by AperturePhotometryArray(), and getFluxErrors().

◆ m_fluxes

std::unique_ptr<NdArray<SeFloat> > SourceXtractor::AperturePhotometryArray::m_fluxes
private

Definition at line 97 of file AperturePhotometryArray.h.

Referenced by AperturePhotometryArray(), and getFluxes().

◆ m_mag_errors

std::unique_ptr<NdArray<SeFloat> > SourceXtractor::AperturePhotometryArray::m_mag_errors
private

Definition at line 100 of file AperturePhotometryArray.h.

Referenced by AperturePhotometryArray(), and getMagErrors().

◆ m_mags

std::unique_ptr<NdArray<SeFloat> > SourceXtractor::AperturePhotometryArray::m_mags
private

Definition at line 99 of file AperturePhotometryArray.h.

Referenced by AperturePhotometryArray(), and getMags().


The documentation for this class was generated from the following file: