/* * statistics.h * * Structure-factor statistics * * (c) 2006-2010 Thomas White * * Part of CrystFEL - crystallography with a FEL * */ #ifdef HAVE_CONFIG_H #include #endif #ifndef STATISTICS_H #define STATISTICS_H #include "utils.h" extern double stat_scale_intensity(const double *ref1, const double *ref2, ReflItemList *items); extern double stat_r1_zero(const double *ref1, const double *ref2, ReflItemList *items, double *scalep); extern double stat_r1_ignore(const double *ref1, const double *ref2, ReflItemList *items, double *scalep); extern double stat_r2(const double *ref1, const double *ref2, ReflItemList *items, double *scalep); extern double stat_r1_i(const double *ref1, const double *ref2, ReflItemList *items, double *scalep); extern double stat_rdiff_zero(const double *ref1, const double *ref2, ReflItemList *items, double *scalep); extern double stat_rdiff_ignore(const double *ref1, const double *ref2, ReflItemList *items, double *scalep); extern double stat_rdiff_intensity(const double *ref1, const double *ref2, ReflItemList *items, double *scalep); extern double stat_pearson_i(const double *ref1, const double *ref2, ReflItemList *items); extern double stat_pearson_f_zero(const double *ref1, const double *ref2, ReflItemList *items); extern double stat_pearson_f_ignore(const double *ref1, const double *ref2, ReflItemList *items); #endif /* STATISTICS_H */