SourceXtractorPlusPlus  0.12
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
std::map< int, boost::python::object > getConstantModels()
std::map< int, boost::python::object > getFreeParameters()
std::map< int, PyMeasurementImage > getMeasurementImages()
std::map< int, boost::python::object > getPointSourceModels()
std::vector< boost::python::object > getMeasurementGroups()
void runCode(const std::string &code)
void setCoordinateSystem(std::shared_ptr< CoordinateSystem > coordinate_system)
std::map< std::string, std::vector< int > > getApertureOutputColumns()
virtual ~PythonInterpreter()=default
STL class.
std::map< int, boost::python::object > getDeVaucouleursModels()
STL class.
std::map< int, boost::python::object > getSersicModels()
void runFile(const std::string &filename, const std::vector< std::string > &argv)
std::map< std::string, boost::python::object > getModelFittingParams()
std::map< int, boost::python::object > getPriors()
std::map< int, std::vector< int > > getFrameModelsMap()
string filename
Definition: conf.py:63
std::map< int, boost::python::object > getExponentialModels()
std::map< int, boost::python::object > getConstantParameters()
std::vector< std::pair< std::string, std::vector< int > > > getModelFittingOutputColumns()
std::map< int, PyAperture > getApertures()
std::map< int, boost::python::object > getDependentParameters()
static PythonInterpreter & getSingleton()