|
SourceXtractorPlusPlus
0.18
SourceXtractor++, the next generation SExtractor
|
#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 Elements::Logging::info().

|
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 std::string::push_back().

| 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(), 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, and Pyston::Exception::log().

| 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, and Pyston::Exception::log().

| std::map< int, PyMeasurementImage > SourceXtractor::PythonInterpreter::getMeasurementImages | ( | ) |
Definition at line 136 of file PythonInterpreter.cpp.
References e, Pyston::Exception::log(), 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, Pyston::Exception::log(), std::move(), and std::vector< T >::push_back().

| 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, and Pyston::Exception::log().

| 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(), std::system_error::code(), e, std::ifstream::fail(), Pyston::Exception::log(), m_err_wrapper, m_out_wrapper, py_argv_assign, std::string::size(), std::vector< T >::size(), std::system_category(), and std::system_error::what().

| 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().
1.8.5