aboutsummaryrefslogtreecommitdiff
path: root/src/statistics.h
blob: e19d4b29036521126734f9e57fd3b6c58c7d6eff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * 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

extern double stat_scale_intensity(const double *ref1, const unsigned int *c1,
                                   const double *ref2, const unsigned int *c2);

extern double stat_r2(const double *ref1, const unsigned int *c1,
                      const double *ref2, const unsigned int *c2,
                      double *scalep);

extern double stat_rmerge(const double *ref1, const unsigned int *c1,
                          const double *ref2, const unsigned int *c2,
                          double *scalep);

#endif	/* STATISTICS_H */