diff options
author | Thomas White <taw@physics.org> | 2011-11-15 12:17:59 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:40 +0100 |
commit | 469efb904b59f137ac9e85e5ff23edd0c113de5c (patch) | |
tree | 71fab5f5715ec9f88984450cdabb592cd49dd46d /libcrystfel/src/statistics.h | |
parent | 38089071300b8e04ed42236dd08d9055094fb3b8 (diff) |
Move a load more stuff into libcrystfel
Diffstat (limited to 'libcrystfel/src/statistics.h')
-rw-r--r-- | libcrystfel/src/statistics.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/libcrystfel/src/statistics.h b/libcrystfel/src/statistics.h new file mode 100644 index 00000000..8fa78ea6 --- /dev/null +++ b/libcrystfel/src/statistics.h @@ -0,0 +1,45 @@ +/* + * statistics.h + * + * Structure-factor statistics + * + * (c) 2006-2010 Thomas White <taw@physics.org> + * + * Part of CrystFEL - crystallography with a FEL + * + */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#ifndef STATISTICS_H +#define STATISTICS_H + + +#include "reflist.h" + +extern double stat_scale_intensity(RefList *list1, RefList *list2); + +extern double stat_r1_zero(RefList *list1, RefList *list2, + double *scalep, int u); +extern double stat_r1_ignore(RefList *list1, RefList *list2, + double *scalep, int u); + +extern double stat_r2(RefList *list1, RefList *list2, double *scalep, int u); + +extern double stat_r1_i(RefList *list1, RefList *list2, double *scalep, int u); + +extern double stat_rdiff_zero(RefList *list1, RefList *list2, + double *scalep, int u); +extern double stat_rdiff_ignore(RefList *list1, RefList *list2, + double *scalep, int u); +extern double stat_rdiff_intensity(RefList *list1, RefList *list2, + double *scalep, int u); + +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 */ |