SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
AutoPhotometryConfig.cpp
Go to the documentation of this file.
1
17/*
18 * AperturePhotometryConfig.cpp
19 *
20 * Created on: Jul 18, 2018
21 * Author: mkuemmel@usm.lmu.de
22 */
23
24#include "SEUtils/Types.h"
25
26#include "Configuration/ProgramOptionsHelper.h"
28
29namespace po = boost::program_options;
31
32namespace SourceXtractor {
33
34namespace {
35const std::string AUTO_KRON_FACTOR {"auto-kron-factor"};
36const std::string AUTO_KRON_MINRAD {"auto-kron-min-radius"};
37}
38
40 return {{"Auto (Kron) photometry options", {
41 {AUTO_KRON_FACTOR.c_str(), po::value<double>()->default_value(2.5), "Scale factor for AUTO (Kron) photometry"},
42 {AUTO_KRON_MINRAD.c_str(), po::value<double>()->default_value(3.5), "Minimum radius for AUTO (Kron) photometry"},
43 }}};
44}
45
47 m_kron_factor = SeFloat(args.at(AUTO_KRON_FACTOR).as<double>());;
48 m_kron_minrad = SeFloat(args.at(AUTO_KRON_MINRAD).as<double>());;
49}
50
57
58} // SourceXtractor namespace
Euclid::Configuration::ProgramOptionsHelper poh
T at(T... args)
std::map< std::string, boost::program_options::variable_value > UserValues
void initialize(const UserValues &args) override
std::map< std::string, OptionDescriptionList > getProgramOptions() override
SeFloat32 SeFloat
Definition Types.h:32