BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Wraps methods that serialize objects to Python. More...
Functions | |
std::string | sampleCode (const MultiLayer &multilayer) |
std::string | simulationPlotCode (const ISimulation &simulation) |
std::string | simulationSaveCode (const ISimulation &simulation, const std::string &fname) |
Wraps methods that serialize objects to Python.
std::string ExportToPython::sampleCode | ( | const MultiLayer & | multilayer | ) |
Definition at line 20 of file ExportToPython.cpp.
References SampleToPython::sampleCode().
Referenced by PySampleWidget::generateCodeSnippet().
std::string ExportToPython::simulationPlotCode | ( | const ISimulation & | simulation | ) |
Definition at line 25 of file ExportToPython.cpp.
References SimulationToPython::simulationPlotCode().
Referenced by PythonScriptWidget::generatePythonScript().
std::string ExportToPython::simulationSaveCode | ( | const ISimulation & | simulation, |
const std::string & | fname | ||
) |
Definition at line 30 of file ExportToPython.cpp.
References SimulationToPython::simulationSaveCode().