|
SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
|
#include <PythonInterpreter.h>

Static Public Member Functions | |
| static PythonInterpreter & | getSingleton () |
Private Member Functions | |
| PythonInterpreter () | |
| std::map< int, boost::python::object > | getMapFromDict (const char *object_name, const char *dict_name) |
Private Attributes | |
| PyOutputWrapper | m_out_wrapper |
| PyOutputWrapper | m_err_wrapper |
| boost::python::object | m_measurement_config |
Definition at line 36 of file PythonInterpreter.h.
|
virtual |
Definition at line 69 of file PythonInterpreter.cpp.
References Pyston::GILLocker::getLockCount(), and Euclid::Configuration::logger.

|
private |
Definition at line 52 of file PythonInterpreter.cpp.
References m_err_wrapper, m_out_wrapper, stderr_logger, and stdout_logger.
Referenced by getSingleton().
| std::map< std::string, std::vector< int > > SourceXtractor::PythonInterpreter::getApertureOutputColumns | ( | ) |
Definition at line 204 of file PythonInterpreter.cpp.
References m_measurement_config.
| std::map< int, PyAperture > SourceXtractor::PythonInterpreter::getApertures | ( | ) |
Definition at line 154 of file PythonInterpreter.cpp.
References std::map< K, T >::emplace(), m_measurement_config, and std::make_pair().

| std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getConstantModels | ( | ) |
Definition at line 271 of file PythonInterpreter.cpp.
References getMapFromDict().

| std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getConstantParameters | ( | ) |
Definition at line 255 of file PythonInterpreter.cpp.
References getMapFromDict().

| std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getDependentParameters | ( | ) |
Definition at line 263 of file PythonInterpreter.cpp.
References getMapFromDict().

| std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getDeVaucouleursModels | ( | ) |
Definition at line 287 of file PythonInterpreter.cpp.
References getMapFromDict().

| std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getExponentialModels | ( | ) |
Definition at line 283 of file PythonInterpreter.cpp.
References getMapFromDict().

| std::map< int, std::vector< int > > SourceXtractor::PythonInterpreter::getFrameModelsMap | ( | ) |
Definition at line 295 of file PythonInterpreter.cpp.
References m_measurement_config.
| std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getFreeParameters | ( | ) |
Definition at line 259 of file PythonInterpreter.cpp.
References getMapFromDict().

|
private |
Definition at line 233 of file PythonInterpreter.cpp.
References std::map< K, T >::emplace(), m_measurement_config, and std::make_pair().
Referenced by getConstantModels(), getConstantParameters(), getDependentParameters(), getDeVaucouleursModels(), getExponentialModels(), getFreeParameters(), getOnnxModels(), getPointSourceModels(), getPriors(), and getSersicModels().

| std::map< int, PyMeasurementImage > SourceXtractor::PythonInterpreter::getMeasurementImages | ( | ) |
Definition at line 135 of file PythonInterpreter.cpp.
References std::map< K, T >::emplace(), m_measurement_config, and std::make_pair().

| std::vector< std::pair< std::string, std::vector< int > > > SourceXtractor::PythonInterpreter::getModelFittingOutputColumns | ( | ) |
Definition at line 173 of file PythonInterpreter.cpp.
References std::vector< T >::emplace_back(), m_measurement_config, std::move(), and std::vector< T >::push_back().

| std::map< std::string, boost::python::object > SourceXtractor::PythonInterpreter::getModelFittingParams | ( | ) |
Definition at line 317 of file PythonInterpreter.cpp.
References std::map< K, T >::emplace(), m_measurement_config, and std::make_pair().

| std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getOnnxModels | ( | ) |
Definition at line 291 of file PythonInterpreter.cpp.
References getMapFromDict().

| std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getPointSourceModels | ( | ) |
Definition at line 275 of file PythonInterpreter.cpp.
References getMapFromDict().

| std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getPriors | ( | ) |
Definition at line 267 of file PythonInterpreter.cpp.
References getMapFromDict().

| std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getSersicModels | ( | ) |
Definition at line 279 of file PythonInterpreter.cpp.
References getMapFromDict().

|
static |
Definition at line 47 of file PythonInterpreter.cpp.
References PythonInterpreter().
Referenced by SourceXtractor::PythonConfig::getInterpreter(), SourceXtractor::PythonConfig::initialize(), and SourceXtractor::PythonConfig::PythonConfig().

| void SourceXtractor::PythonInterpreter::runFile | ( | const std::string & | filename, |
| const std::vector< std::string > & | argv ) |
Definition at line 73 of file PythonInterpreter.cpp.
References std::string::c_str(), m_err_wrapper, m_out_wrapper, py_argv_assign, std::vector< T >::size(), and std::system_category().

| void SourceXtractor::PythonInterpreter::setupContext | ( | ) |
Definition at line 125 of file PythonInterpreter.cpp.
References m_measurement_config.
|
private |
Definition at line 87 of file PythonInterpreter.h.
Referenced by PythonInterpreter(), and runFile().
|
private |
Definition at line 88 of file PythonInterpreter.h.
Referenced by getApertureOutputColumns(), getApertures(), getFrameModelsMap(), getMapFromDict(), getMeasurementImages(), getModelFittingOutputColumns(), getModelFittingParams(), and setupContext().
|
private |
Definition at line 87 of file PythonInterpreter.h.
Referenced by PythonInterpreter(), and runFile().