SourceXtractorPlusPlus
0.11
Please provide a description of the project.
|
#include <PythonInterpreter.h>
Static Public Member Functions | |
static PythonInterpreter & | getSingleton () |
Private Member Functions | |
PythonInterpreter () | |
Private Attributes | |
PyOutputWrapper | m_out_wrapper |
PyOutputWrapper | m_err_wrapper |
Definition at line 35 of file PythonInterpreter.h.
|
virtualdefault |
|
private |
Definition at line 48 of file PythonInterpreter.cpp.
std::map< std::string, std::vector< int > > SourceXtractor::PythonInterpreter::getApertureOutputColumns | ( | ) |
Definition at line 188 of file PythonInterpreter.cpp.
References e, std::string::push_back(), and SourceXtractor::pyToElementsException().
std::map< int, PyAperture > SourceXtractor::PythonInterpreter::getApertures | ( | ) |
Definition at line 136 of file PythonInterpreter.cpp.
References e, std::map< K, T >::emplace(), std::make_pair(), and SourceXtractor::pyToElementsException().
std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getConstantModels | ( | ) |
Definition at line 258 of file PythonInterpreter.cpp.
std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getConstantParameters | ( | ) |
Definition at line 242 of file PythonInterpreter.cpp.
std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getDependentParameters | ( | ) |
Definition at line 250 of file PythonInterpreter.cpp.
std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getDeVaucouleursModels | ( | ) |
Definition at line 274 of file PythonInterpreter.cpp.
std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getExponentialModels | ( | ) |
Definition at line 270 of file PythonInterpreter.cpp.
std::map< int, std::vector< int > > SourceXtractor::PythonInterpreter::getFrameModelsMap | ( | ) |
Definition at line 278 of file PythonInterpreter.cpp.
References e, and SourceXtractor::pyToElementsException().
std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getFreeParameters | ( | ) |
Definition at line 246 of file PythonInterpreter.cpp.
std::vector< boost::python::object > SourceXtractor::PythonInterpreter::getMeasurementGroups | ( | ) |
Definition at line 315 of file PythonInterpreter.cpp.
References e, and SourceXtractor::pyToElementsException().
std::map< int, PyMeasurementImage > SourceXtractor::PythonInterpreter::getMeasurementImages | ( | ) |
Definition at line 116 of file PythonInterpreter.cpp.
References e, std::make_pair(), and SourceXtractor::pyToElementsException().
std::vector< std::pair< std::string, std::vector< int > > > SourceXtractor::PythonInterpreter::getModelFittingOutputColumns | ( | ) |
Definition at line 156 of file PythonInterpreter.cpp.
References e, std::move(), std::vector< T >::push_back(), and SourceXtractor::pyToElementsException().
std::map< std::string, boost::python::object > SourceXtractor::PythonInterpreter::getModelFittingParams | ( | ) |
Definition at line 300 of file PythonInterpreter.cpp.
References std::map< K, T >::emplace(), and std::make_pair().
std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getPointSourceModels | ( | ) |
Definition at line 262 of file PythonInterpreter.cpp.
std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getPriors | ( | ) |
Definition at line 254 of file PythonInterpreter.cpp.
std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getSersicModels | ( | ) |
Definition at line 266 of file PythonInterpreter.cpp.
|
static |
Definition at line 43 of file PythonInterpreter.cpp.
Referenced by SourceXtractor::PythonConfig::getInterpreter(), SourceXtractor::PythonConfig::initialize(), SourceXtractor::ModelFittingConfig::initializeInner(), and SourceXtractor::PythonConfig::PythonConfig().
void SourceXtractor::PythonInterpreter::runCode | ( | const std::string & | code | ) |
Definition at line 62 of file PythonInterpreter.cpp.
References std::string::c_str(), e, and SourceXtractor::pyToElementsException().
void SourceXtractor::PythonInterpreter::runFile | ( | const std::string & | filename, |
const std::vector< std::string > & | argv | ||
) |
Definition at line 75 of file PythonInterpreter.cpp.
References std::string::c_str(), e, m_err_wrapper, m_out_wrapper, py_argv_assign, SourceXtractor::pyToElementsException(), std::string::size(), and std::vector< T >::size().
void SourceXtractor::PythonInterpreter::setCoordinateSystem | ( | std::shared_ptr< CoordinateSystem > | coordinate_system | ) |
Definition at line 332 of file PythonInterpreter.cpp.
Referenced by SourceXtractor::ModelFittingConfig::initializeInner().
|
private |
Definition at line 84 of file PythonInterpreter.h.
Referenced by runFile().
|
private |
Definition at line 84 of file PythonInterpreter.h.
Referenced by runFile().