|
SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
|
#include <AssocModeConfig.h>


Classes | |
| struct | CatalogEntry |
Public Types | |
| enum class | AssocMode { UNKNOWN , FIRST , NEAREST , MIN , MAX , MEAN , MAG_MEAN , SUM , MAG_SUM } |
| enum class | AssocFilter { ALL , MATCHED , UNMATCHED } |
| enum class | AssocCoordType { PIXEL , WORLD } |
Public Types inherited from Euclid::Configuration::Configuration | |
| enum | State |
| typedef std::vector< boost::program_options::option_description > | OptionDescriptionList |
| typedef std::map< std::string, boost::program_options::variable_value > | UserValues |
Public Member Functions | |
| AssocModeConfig (long manager_id) | |
| virtual | ~AssocModeConfig ()=default |
| std::map< std::string, OptionDescriptionList > | getProgramOptions () override |
| void | initialize (const UserValues &args) override |
| AssocMode | getAssocMode () const |
| double | getAssocRadius () const |
| const std::vector< std::vector< CatalogEntry > > & | getCatalogs () const |
| const std::vector< int > & | getColumnsIdx () const |
| std::vector< std::string > | getColumnsNames () const |
Public Member Functions inherited from Euclid::Configuration::Configuration | |
| Configuration (long manager_id) | |
| virtual | ~Configuration ()=default |
| virtual void | preInitialize (const UserValues &args) |
| virtual void | postInitialize (const UserValues &args) |
| const std::set< std::type_index > & | getDependencies () |
| State & | getCurrentState () |
| State | getCurrentState () const |
Private Member Functions | |
| void | readCommonConfig (const UserValues &args) |
| void | readConfigFromParams (const UserValues &args) |
| void | readConfigFromFile (const std::string &filename) |
| std::map< std::string, unsigned int > | parseConfigFile (const std::string &filename) |
| void | checkConfig () |
| void | printConfig () |
| void | readCatalogs (const std::string &filename, const std::vector< int > &columns, AssocCoordType assoc_coord_type) |
| AssocCoordType | getCoordinateType (const UserValues &args) const |
| std::vector< CatalogEntry > | readTable (const Euclid::Table::Table &table, const std::vector< int > &columns, const std::vector< int > ©_columns, bool use_world, std::shared_ptr< CoordinateSystem > coordinate_system=nullptr) |
Additional Inherited Members | |
Protected Member Functions inherited from Euclid::Configuration::Configuration | |
| void | declareDependency () |
| T & | getDependency () |
| const T & | getDependency () const |
Definition at line 31 of file AssocModeConfig.h.
| Enumerator | |
|---|---|
| PIXEL | |
| WORLD | |
Definition at line 53 of file AssocModeConfig.h.
| Enumerator | |
|---|---|
| ALL | |
| MATCHED | |
| UNMATCHED | |
Definition at line 47 of file AssocModeConfig.h.
| Enumerator | |
|---|---|
| UNKNOWN | |
| FIRST | |
| NEAREST | |
| MIN | |
| MAX | |
| MEAN | |
| MAG_MEAN | |
| SUM | |
| MAG_SUM | |
Definition at line 35 of file AssocModeConfig.h.
|
explicit |
Definition at line 105 of file AssocModeConfig.cpp.
References AssocModeConfig(), Euclid::Configuration::ConfigManager::getInstance(), and Euclid::Configuration::ConfigManager::registerDependency().
Referenced by AssocModeConfig().

|
virtualdefault |
|
private |
Definition at line 269 of file AssocModeConfig.cpp.
References Euclid::Configuration::logger, m_assoc_coord_type, m_columns, PIXEL, std::vector< T >::size(), and Elements::Logging::warn().
Referenced by initialize().

|
inline |
Definition at line 73 of file AssocModeConfig.h.
References m_assoc_mode.
|
inline |
Definition at line 77 of file AssocModeConfig.h.
References m_assoc_radius.
|
inline |
Definition at line 81 of file AssocModeConfig.h.
References m_catalogs.
|
inline |
Definition at line 85 of file AssocModeConfig.h.
References m_columns_idx.
|
inline |
Definition at line 89 of file AssocModeConfig.h.
References m_custom_column_names.
Referenced by SourceXtractor::ObjectInfo::ObjectInfo(), and SourceXtractor::ObjectInfo::ObjectInfo().
|
private |
Definition at line 288 of file AssocModeConfig.cpp.
References SourceXtractor::ASSOC_COORD_TYPE, and PIXEL.
Referenced by readConfigFromParams().
|
overridevirtual |
Reimplemented from Euclid::Configuration::Configuration.
Definition at line 112 of file AssocModeConfig.cpp.
References SourceXtractor::ASSOC_CATALOG, SourceXtractor::ASSOC_COLUMNS, SourceXtractor::ASSOC_CONFIG, SourceXtractor::ASSOC_COORD_TYPE, SourceXtractor::ASSOC_COPY, SourceXtractor::ASSOC_DEFAULT_PIXEL_SIZE, SourceXtractor::ASSOC_FILTER, SourceXtractor::ASSOC_GROUP_ID, SourceXtractor::ASSOC_MODE, SourceXtractor::ASSOC_RADIUS, SourceXtractor::ASSOC_SOURCE_SIZES, and SourceXtractor::ASSOC_TEST.
|
overridevirtual |
Reimplemented from Euclid::Configuration::Configuration.
Definition at line 141 of file AssocModeConfig.cpp.
References SourceXtractor::ASSOC_CONFIG, SourceXtractor::ASSOC_TEST, checkConfig(), m_assoc_coord_type, m_columns, m_filename, printConfig(), readCatalogs(), readCommonConfig(), readConfigFromFile(), and readConfigFromParams().

|
private |
Definition at line 396 of file AssocModeConfig.cpp.
References std::find(), and std::getline().
Referenced by readConfigFromFile().

|
private |
Definition at line 447 of file AssocModeConfig.cpp.
References std::endl(), m_assoc_coord_type, m_catalogs, m_columns, m_custom_column_names, m_group_id_column, m_pixel_size_column, PIXEL, and std::vector< T >::size().
Referenced by initialize().

|
private |
Definition at line 301 of file AssocModeConfig.cpp.
References m_catalogs, m_columns_idx, readTable(), and WORLD.
Referenced by initialize().

|
private |
Definition at line 167 of file AssocModeConfig.cpp.
References SourceXtractor::ASSOC_CATALOG, SourceXtractor::ASSOC_DEFAULT_PIXEL_SIZE, SourceXtractor::ASSOC_FILTER, SourceXtractor::ASSOC_MODE, SourceXtractor::ASSOC_RADIUS, m_assoc_mode, m_assoc_radius, m_default_pixel_size, m_filename, MATCHED, and UNMATCHED.
Referenced by initialize().
|
private |
Definition at line 215 of file AssocModeConfig.cpp.
References std::map< K, T >::at(), std::map< K, T >::end(), std::map< K, T >::erase(), std::map< K, T >::find(), m_assoc_columns, m_assoc_coord_type, m_columns, m_columns_idx, m_custom_column_names, m_group_id_column, m_pixel_size_column, parseConfigFile(), PIXEL, std::vector< T >::push_back(), and WORLD.
Referenced by initialize().

|
private |
Definition at line 205 of file AssocModeConfig.cpp.
References SourceXtractor::ASSOC_COLUMNS, SourceXtractor::ASSOC_COPY, SourceXtractor::ASSOC_GROUP_ID, SourceXtractor::ASSOC_SOURCE_SIZES, getCoordinateType(), m_assoc_coord_type, m_columns, m_columns_idx, m_group_id_column, and m_pixel_size_column.
Referenced by initialize().

|
private |
Definition at line 334 of file AssocModeConfig.cpp.
References m_default_pixel_size, m_group_id_column, and m_pixel_size_column.
Referenced by readCatalogs().
|
private |
Definition at line 118 of file AssocModeConfig.h.
Referenced by readConfigFromFile().
|
private |
Definition at line 121 of file AssocModeConfig.h.
Referenced by checkConfig(), initialize(), printConfig(), readConfigFromFile(), and readConfigFromParams().
|
private |
Definition at line 107 of file AssocModeConfig.h.
Referenced by getAssocMode(), and readCommonConfig().
|
private |
Definition at line 108 of file AssocModeConfig.h.
Referenced by getAssocRadius(), and readCommonConfig().
|
private |
Definition at line 113 of file AssocModeConfig.h.
Referenced by getCatalogs(), printConfig(), and readCatalogs().
|
private |
Definition at line 114 of file AssocModeConfig.h.
Referenced by checkConfig(), initialize(), printConfig(), readConfigFromFile(), and readConfigFromParams().
|
private |
Definition at line 115 of file AssocModeConfig.h.
Referenced by getColumnsIdx(), readCatalogs(), readConfigFromFile(), and readConfigFromParams().
|
private |
Definition at line 116 of file AssocModeConfig.h.
Referenced by getColumnsNames(), printConfig(), and readConfigFromFile().
|
private |
Definition at line 109 of file AssocModeConfig.h.
Referenced by readCommonConfig(), and readTable().
|
private |
Definition at line 119 of file AssocModeConfig.h.
Referenced by initialize(), and readCommonConfig().
|
private |
Definition at line 111 of file AssocModeConfig.h.
Referenced by printConfig(), readConfigFromFile(), readConfigFromParams(), and readTable().
|
private |
Definition at line 110 of file AssocModeConfig.h.
Referenced by printConfig(), readConfigFromFile(), readConfigFromParams(), and readTable().