diff options
Diffstat (limited to 'src/statistics.h')
-rw-r--r-- | src/statistics.h | 48 |
1 files changed, 19 insertions, 29 deletions
diff --git a/src/statistics.h b/src/statistics.h index 18603357..34ef2406 100644 --- a/src/statistics.h +++ b/src/statistics.h @@ -17,35 +17,25 @@ #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); +#include "reflist.h" + +extern double stat_scale_intensity(RefList *list1, RefList *list2); + +extern double stat_r1_zero(RefList *list1, RefList *list2, double *scalep); +extern double stat_r1_ignore(RefList *list1, RefList *list2, double *scalep); + +extern double stat_r2(RefList *list1, RefList *list2, double *scalep); + +extern double stat_r1_i(RefList *list1, RefList *list2, double *scalep); + +extern double stat_rdiff_zero(RefList *list1, RefList *list2, double *scalep); +extern double stat_rdiff_ignore(RefList *list1, RefList *list2, double *scalep); +extern double stat_rdiff_intensity(RefList *list1, RefList *list2, + double *scalep); + +extern double stat_pearson_i(RefList *list1, RefList *list2); +extern double stat_pearson_f_zero(RefList *list1, RefList *list2); +extern double stat_pearson_f_ignore(RefList *list1, RefList *list2); #endif /* STATISTICS_H */ |