BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
Implements functions from namespace pyfmt2.
Definition in file PyFmt2.cpp.
Go to the source code of this file.
Namespaces | |
Py | |
Py::Fmt2 | |
Utility functions for writing Python code snippets. | |
Functions | |
std::string | Py::Fmt2::printAxis (const IAxis *axis, const std::string &unit) |
Prints an axis. More... | |
std::string | Py::Fmt2::printParameterDistribution (const ParameterDistribution &par_distr, const std::string &distVarName, const std::string &units) |
std::string | Py::Fmt2::printRangedDistribution (const IRangedDistribution &distr) |
std::string | Py::Fmt2::representShape2D (const std::string &indent, const IShape2D *ishape, bool mask_value, std::function< std::string(double)> printValueFunc) |
Returns fixed Python code snippet that defines the function "simulate". More... | |