BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
PyObvject forward declaration. More...
Go to the source code of this file.
Namespaces | |
HistoUtils | |
Collection of utils for 1D and 2D image processing (background, peaks, ets). | |
Functions | |
bool | HistoUtils::agreesWithReference (const SimulationResult &dat, const std::string &refFileName, double tol) |
Returns true if SimulatioResult agrees with data from reference file. More... | |
std::vector< std::pair< double, double > > | HistoUtils::FindPeaks (const Histogram2D &hist, double sigma=2, const std::string &option={}, double threshold=0.05) |
Returns vector of peak center coordinates, for peaks in given histogram. More... | |
double | HistoUtils::getRelativeDifference (const IHistogram &dat, const IHistogram &ref) |
double | HistoUtils::RelativeDifference (const SimulationResult &dat, const SimulationResult &ref) |
Returns sum of relative differences between each pair of elements: (a, b) -> 2*abs(a - b)/(a + b) ( and zero if a-b=0 ) More... | |
PyObvject forward declaration.
Definition in file HistoUtils.h.