Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
util.cc File Reference

Miscellaneous functions that pop up everywhere in epr_deer calculation. More...

#include <core/scoring/epr_deer/util.hh>
#include <core/types.hh>
#include <numeric/constants.hh>
#include <boost/math/special_functions/erf.hpp>
#include <basic/Tracer.hh>
#include <utility/excn/Exceptions.hh>
#include <map>
#include <tuple>

Namespaces

 core
 A class for reading in the atom type properties.
 
 core::scoring
 
 core::scoring::epr_deer
 

Functions

static basic::Tracer core::scoring::epr_deer::TR ("core.scoring.epr_deer.util")
 Tracer used for error messages. More...
 
Real core::scoring::epr_deer::gauss (Real const &x, Real const &avg, Real const &stdev)
 Compute amplitude at a given point of a normal distribution. More...
 
Real core::scoring::epr_deer::probit (Real const &x)
 Calculate probit function given a certain value. More...
 
Real core::scoring::epr_deer::logit (Real const &x, Real const &lo, Real const &hi)
 Calculate logit function given certain value. More...
 
Real core::scoring::epr_deer::ln (Real const &q)
 Safe version of log() that doesn't crash when zero is passed. More...
 
std::tuple< Size, Size > core::scoring::epr_deer::min_max (std::map< Size, Real > const &histr1, std::map< Size, Real > const &histr2)
 Return the minimum and maximum bins from two distributions. More...
 
Real core::scoring::epr_deer::sigmoid (Real const &x, Real const &min, Real const &max)
 Sigmoid function implementation. More...
 

Detailed Description

Miscellaneous functions that pop up everywhere in epr_deer calculation.

Author
Diego del Alamo ( del.a.nosp@m.lamo.nosp@m.@vand.nosp@m.erbi.nosp@m.lt.ed.nosp@m.u )