BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
PyFmt.cpp File Reference
Include dependency graph for PyFmt.cpp:

Go to the source code of this file.

Namespaces

 pyfmt
 

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)
 

Detailed Description

Implements functions from namespace pyfmt.

Homepage:\n http://www.bornagainproject.org
License:\n GNU General Public License v3 or higher (see COPYING)
Authors
Scientific Computing Group at MLZ (see CITATION, AUTHORS)

Definition in file PyFmt.cpp.