| 
    BornAgain
    1.19.0
    
   Simulate and fit neutron and x-ray scattering at grazing incidence 
   | 
 
Write a Python script that allows to run the current simulation. More...
Public Member Functions | |
| std::string | simulationPlotCode (const ISimulation &simulation) | 
| Returns a Python script that runs a simulation and plots the result.  More... | |
| std::string | simulationSaveCode (const ISimulation &simulation, const std::string &fname) | 
| Returns a Python script that runs a simulation and saves the result to a file.  More... | |
Write a Python script that allows to run the current simulation.
Definition at line 29 of file SimulationToPython.h.
| std::string SimulationToPython::simulationPlotCode | ( | const ISimulation & | simulation | ) | 
Returns a Python script that runs a simulation and plots the result.
Definition at line 476 of file SimulationToPython.cpp.
Referenced by ExportToPython::simulationPlotCode().
| std::string SimulationToPython::simulationSaveCode | ( | const ISimulation & | simulation, | 
| const std::string & | fname | ||
| ) | 
Returns a Python script that runs a simulation and saves the result to a file.
Definition at line 486 of file SimulationToPython.cpp.
Referenced by ExportToPython::simulationSaveCode().