9#include "MantidKernel/DllConfig.h"
66template <
typename TYPE>
69template <
typename TYPE> std::vector<double>
getZscore(
const std::vector<TYPE> &data);
70template <
typename TYPE>
71std::vector<double>
getWeightedZscore(
const std::vector<TYPE> &data,
const std::vector<TYPE> &weights);
73template <
typename TYPE> std::vector<double>
getModifiedZscore(
const std::vector<TYPE> &data);
75Rfactor MANTID_KERNEL_DLL
getRFactor(
const std::vector<double> &obsI,
const std::vector<double> &calI,
76 const std::vector<double> &obsE);
79template <
typename TYPE>
81 const int maxMoment = 3);
83template <
typename TYPE>
85 const int maxMoment = 3);
StatisticType
Maps a "statistic" to a number.
std::vector< double > getModifiedZscore(const std::vector< TYPE > &data)
Return the modified Z score values for a dataset.
Statistics getStatistics(const std::vector< TYPE > &data, const unsigned int flags=StatOptions::AllStats)
Return a statistics object for the given data set.
std::vector< double > getZscore(const std::vector< TYPE > &data)
Return the Z score values for a dataset.
std::vector< double > getMomentsAboutMean(const std::vector< TYPE > &x, const std::vector< TYPE > &y, const int maxMoment=3)
Return the first n-moments of the supplied data.
std::vector< double > getWeightedZscore(const std::vector< TYPE > &data, const std::vector< TYPE > &weights)
There are enough special cases in determining the Z score where it useful to put it in a single funct...
std::vector< double > getMomentsAboutOrigin(const std::vector< TYPE > &x, const std::vector< TYPE > &y, const int maxMoment=3)
Return the first n-moments of the supplied data.
Rfactor MANTID_KERNEL_DLL getRFactor(const std::vector< double > &obsI, const std::vector< double > &calI, const std::vector< double > &obsE)
Return the R-factors (Rwp) of a diffraction pattern data.
Helper class which provides the Collimation Length for SANS instruments.
R factor for powder data analysis.
Rfactor(double rwp, double rp)
Foos(int a, int b) : a(a), b(b) {}.
Controls the computation of statisical data.
Simple struct to store statistics.
double median
Median value.
double minimum
Minimum value.
double maximum
Maximum value.
double standard_deviation
standard_deviation of the values