SourceXtractorPlusPlus  0.11
Please provide a description of the project.
PythonInterpreter.h
Go to the documentation of this file.
1 
17 /*
18  * @file PythonInterpreter.h
19  * @author Nikolaos Apostolakos <nikoapos@gmail.com>
20  */
21 
22 #ifndef _SEIMPLEMENTATION_PYTHONINTERPRETER_H
23 #define _SEIMPLEMENTATION_PYTHONINTERPRETER_H
24 
25 #include <string>
26 #include <map>
27 #include <vector>
32 
33 namespace SourceXtractor {
34 
36 
37 public:
38 
40 
41  void runCode(const std::string& code);
42 
43  void runFile(const std::string& filename, const std::vector<std::string>& argv);
44 
45  virtual ~PythonInterpreter() = default;
46 
48 
50 
52 
54 
56 
58 
60 
62 
64 
66 
68 
70 
72 
74 
76 
78 
80 
81 private:
82 
85 };
86 
87 } // end of namespace SourceXtractor
88 
89 #endif // _SEIMPLEMENTATION_PYTHONINTERPRETER_H
90 
SourceXtractor::PythonInterpreter::getPointSourceModels
std::map< int, boost::python::object > getPointSourceModels()
Definition: PythonInterpreter.cpp:262
std::string
STL class.
std::shared_ptr
STL class.
SourceXtractor::PythonInterpreter::getMeasurementGroups
std::vector< boost::python::object > getMeasurementGroups()
Definition: PythonInterpreter.cpp:315
SourceXtractor::PythonInterpreter::runCode
void runCode(const std::string &code)
Definition: PythonInterpreter.cpp:62
SourceXtractor::PythonInterpreter::m_out_wrapper
PyOutputWrapper m_out_wrapper
Definition: PythonInterpreter.h:84
conf.filename
string filename
Definition: conf.py:63
std::vector< std::string >
SourceXtractor::PythonInterpreter::getFreeParameters
std::map< int, boost::python::object > getFreeParameters()
Definition: PythonInterpreter.cpp:246
SourceXtractor::PythonInterpreter::getMeasurementImages
std::map< int, PyMeasurementImage > getMeasurementImages()
Definition: PythonInterpreter.cpp:116
SourceXtractor::PythonInterpreter::getDeVaucouleursModels
std::map< int, boost::python::object > getDeVaucouleursModels()
Definition: PythonInterpreter.cpp:274
SourceXtractor::PythonInterpreter::setCoordinateSystem
void setCoordinateSystem(std::shared_ptr< CoordinateSystem > coordinate_system)
Definition: PythonInterpreter.cpp:332
SourceXtractor::PythonInterpreter::runFile
void runFile(const std::string &filename, const std::vector< std::string > &argv)
Definition: PythonInterpreter.cpp:75
CoordinateSystem.h
PyOutputWrapper.h
SourceXtractor::PythonInterpreter::~PythonInterpreter
virtual ~PythonInterpreter()=default
SourceXtractor::PythonInterpreter::getPriors
std::map< int, boost::python::object > getPriors()
Definition: PythonInterpreter.cpp:254
SourceXtractor::PythonInterpreter::getApertureOutputColumns
std::map< std::string, std::vector< int > > getApertureOutputColumns()
Definition: PythonInterpreter.cpp:188
SourceXtractor::PythonInterpreter::getModelFittingParams
std::map< std::string, boost::python::object > getModelFittingParams()
Definition: PythonInterpreter.cpp:300
SourceXtractor::PythonInterpreter::m_err_wrapper
PyOutputWrapper m_err_wrapper
Definition: PythonInterpreter.h:84
SourceXtractor::PythonInterpreter
Definition: PythonInterpreter.h:35
SourceXtractor
Definition: Aperture.h:30
SourceXtractor::PyOutputWrapper
Definition: PyOutputWrapper.h:36
SourceXtractor::PythonInterpreter::getSersicModels
std::map< int, boost::python::object > getSersicModels()
Definition: PythonInterpreter.cpp:266
SourceXtractor::PythonInterpreter::getApertures
std::map< int, PyAperture > getApertures()
Definition: PythonInterpreter.cpp:136
SourceXtractor::PythonInterpreter::getFrameModelsMap
std::map< int, std::vector< int > > getFrameModelsMap()
Definition: PythonInterpreter.cpp:278
SourceXtractor::PythonInterpreter::PythonInterpreter
PythonInterpreter()
Definition: PythonInterpreter.cpp:48
std::map
STL class.
SourceXtractor::PythonInterpreter::getExponentialModels
std::map< int, boost::python::object > getExponentialModels()
Definition: PythonInterpreter.cpp:270
SourceXtractor::PythonInterpreter::getConstantParameters
std::map< int, boost::python::object > getConstantParameters()
Definition: PythonInterpreter.cpp:242
SourceXtractor::PythonInterpreter::getModelFittingOutputColumns
std::vector< std::pair< std::string, std::vector< int > > > getModelFittingOutputColumns()
Definition: PythonInterpreter.cpp:156
SourceXtractor::PythonInterpreter::getDependentParameters
std::map< int, boost::python::object > getDependentParameters()
Definition: PythonInterpreter.cpp:250
PyAperture.h
SourceXtractor::PythonInterpreter::getSingleton
static PythonInterpreter & getSingleton()
Definition: PythonInterpreter.cpp:43
SourceXtractor::PythonInterpreter::getConstantModels
std::map< int, boost::python::object > getConstantModels()
Definition: PythonInterpreter.cpp:258
PyMeasurementImage.h