BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
customplot_test_utils.h File Reference

Defines class CLASS? More...

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

Go to the source code of this file.

Namespaces

 TestUtils
 Various common utils for unit tests.
 

Functions

std::vector< double > TestUtils::binCenters (const QCPGraph *graph)
 Returns vector representing bin centers on QCPgraph. More...
 
std::vector< double > TestUtils::binErrors (const QCPGraph *graph)
 Returns vector representing bin errors of QCPGraph. More...
 
std::vector< double > TestUtils::binValues (const QCPGraph *graph)
 Returns vector representing y-values on QCPgraph. More...
 
template<typename G , typename T >
std::vector< double > TestUtils::get_values (const G *graph, T operand)
 Returns vector representing bin centers/values on QCPGraph. More...
 
template<typename T >
T * TestUtils::GetPlottable (QCustomPlot *custom_plot)
 Finds and returns specific plottable in QCustomPlot canvas. More...
 

Detailed Description

Defines class CLASS?

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

Definition in file customplot_test_utils.h.