BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
PyFmtLimits.h File Reference

Description

Defines 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 PyFmtLimits.h.

Include dependency graph for PyFmtLimits.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Py
 
 Py::Fmt
 Utility functions for writing Python code snippets.
 

Macros

#define BORNAGAIN_SIM_EXPORT_PYFMTLIMITS_H
 

Functions

std::string Py::Fmt::printRealLimits (const RealLimits &limits, const std::string &units)
 
std::string Py::Fmt::printRealLimitsArg (const RealLimits &limits, const std::string &units)
 Prints RealLimits in the form of argument (in the context of ParameterDistribution and similar). Default RealLimits will not be printed, any other will be printed as ", ba.RealLimits.limited(1*deg, 2*deg)". More...
 

Macro Definition Documentation

◆ BORNAGAIN_SIM_EXPORT_PYFMTLIMITS_H

#define BORNAGAIN_SIM_EXPORT_PYFMTLIMITS_H

Definition at line 21 of file PyFmtLimits.h.