BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Implements functions from namespace pyfmt. More...
Go to the source code of this file.
Namespaces | |
pyfmt | |
Utility functions for writing Python code snippets. | |
Functions | |
std::string | pyfmt::scriptPreamble () |
std::string | pyfmt::getSampleFunctionName () |
std::string | pyfmt::printBool (double value) |
std::string | pyfmt::printDouble (double input) |
std::string | pyfmt::printNm (double input) |
std::string | pyfmt::printNm2 (double input) |
std::string | pyfmt::printScientificDouble (double input) |
std::string | pyfmt::printDegrees (double input) |
std::string | pyfmt::printValue (double value, const std::string &units) |
std::string | pyfmt::printString (const std::string &value) |
bool | pyfmt::isSquare (double length1, double length2, double angle) |
bool | pyfmt::isHexagonal (double length1, double length2, double angle) |
std::string | pyfmt::printKvector (const kvector_t value) |
std::string | pyfmt::indent (size_t width=4u) |
Returns a string of blanks with given width. More... | |
Implements functions from namespace pyfmt.
Definition in file PyFmt.cpp.