SourceXtractorPlusPlus
0.16
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.
|
virtual |
Definition at line 66 of file PythonInterpreter.cpp.
References Pyston::GILLocker::getLockCount(), and SourceXtractor::logger.
|
private |
Definition at line 51 of file PythonInterpreter.cpp.
References PYSTON_MODULE_INIT.
std::map< std::string, std::vector< int > > SourceXtractor::PythonInterpreter::getApertureOutputColumns | ( | ) |
Definition at line 208 of file PythonInterpreter.cpp.
References e, Pyston::Exception::log(), and SourceXtractor::logger.
std::map< int, PyAperture > SourceXtractor::PythonInterpreter::getApertures | ( | ) |
Definition at line 156 of file PythonInterpreter.cpp.
References e, std::map< K, T >::emplace(), Pyston::Exception::log(), SourceXtractor::logger, and std::make_pair().
std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getConstantModels | ( | ) |
Definition at line 278 of file PythonInterpreter.cpp.
std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getConstantParameters | ( | ) |
Definition at line 262 of file PythonInterpreter.cpp.
std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getDependentParameters | ( | ) |
Definition at line 270 of file PythonInterpreter.cpp.
std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getDeVaucouleursModels | ( | ) |
Definition at line 294 of file PythonInterpreter.cpp.
std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getExponentialModels | ( | ) |
Definition at line 290 of file PythonInterpreter.cpp.
std::map< int, std::vector< int > > SourceXtractor::PythonInterpreter::getFrameModelsMap | ( | ) |
Definition at line 302 of file PythonInterpreter.cpp.
References e, Pyston::Exception::log(), and SourceXtractor::logger.
std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getFreeParameters | ( | ) |
Definition at line 266 of file PythonInterpreter.cpp.
std::vector< boost::python::object > SourceXtractor::PythonInterpreter::getMeasurementGroups | ( | ) |
Definition at line 339 of file PythonInterpreter.cpp.
References e, std::vector< T >::emplace_back(), Pyston::Exception::log(), and SourceXtractor::logger.
std::map< int, PyMeasurementImage > SourceXtractor::PythonInterpreter::getMeasurementImages | ( | ) |
Definition at line 136 of file PythonInterpreter.cpp.
References e, Pyston::Exception::log(), SourceXtractor::logger, and std::make_pair().
std::vector< std::pair< std::string, std::vector< int > > > SourceXtractor::PythonInterpreter::getModelFittingOutputColumns | ( | ) |
Definition at line 176 of file PythonInterpreter.cpp.
References e, std::vector< T >::emplace_back(), Pyston::Exception::log(), SourceXtractor::logger, and std::move().
std::map< std::string, boost::python::object > SourceXtractor::PythonInterpreter::getModelFittingParams | ( | ) |
Definition at line 324 of file PythonInterpreter.cpp.
References std::map< K, T >::emplace(), and std::make_pair().
std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getOnnxModels | ( | ) |
Definition at line 298 of file PythonInterpreter.cpp.
std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getPointSourceModels | ( | ) |
Definition at line 282 of file PythonInterpreter.cpp.
std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getPriors | ( | ) |
Definition at line 274 of file PythonInterpreter.cpp.
std::map< int, boost::python::object > SourceXtractor::PythonInterpreter::getSersicModels | ( | ) |
Definition at line 286 of file PythonInterpreter.cpp.
|
static |
Definition at line 46 of file PythonInterpreter.cpp.
Referenced by SourceXtractor::PythonConfig::getInterpreter(), SourceXtractor::PythonConfig::initialize(), and SourceXtractor::PythonConfig::PythonConfig().
void SourceXtractor::PythonInterpreter::runCode | ( | const std::string & | code | ) |
Definition at line 70 of file PythonInterpreter.cpp.
References std::string::c_str(), e, Pyston::Exception::log(), and SourceXtractor::logger.
void SourceXtractor::PythonInterpreter::runFile | ( | const std::string & | filename, |
const std::vector< std::string > & | argv | ||
) |
Definition at line 83 of file PythonInterpreter.cpp.
References std::string::c_str(), e, std::ifstream::fail(), conf::filename, Pyston::Exception::log(), SourceXtractor::logger, m_err_wrapper, m_out_wrapper, py_argv_assign, std::vector< T >::size(), and std::system_category().
void SourceXtractor::PythonInterpreter::setCoordinateSystem | ( | std::shared_ptr< CoordinateSystem > | coordinate_system | ) |
Definition at line 356 of file PythonInterpreter.cpp.
|
private |
Definition at line 86 of file PythonInterpreter.h.
Referenced by runFile().
|
private |
Definition at line 86 of file PythonInterpreter.h.
Referenced by runFile().