BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Functions | |
bool | isAngleRelated (const std::string &par_name) |
std::string | poolParameterUnits (const IParameterized &node, const std::string &parName) |
bool ParameterUtils::isAngleRelated | ( | const std::string & | par_name | ) |
Returns true if given parameter name is related to angles.
Definition at line 32 of file ParameterUtils.cpp.
References anonymous_namespace{ParameterUtils.cpp}::angleRelatedParameters().
std::string ParameterUtils::poolParameterUnits | ( | const IParameterized & | node, |
const std::string & | parName | ||
) |
Returns units of main parameter.
Definition at line 43 of file ParameterUtils.cpp.
References IParameterized::createParameterTree(), ParameterPool::getUniqueMatch(), and RealParameter::unit().
Referenced by SimulationToPython::defineParameterDistributions(), and ParticleDistribution::mainUnits().