aboutsummaryrefslogtreecommitdiff
path: root/src/reflections.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-07-14 17:58:55 +0200
committerThomas White <taw@physics.org>2012-02-22 15:26:53 +0100
commit6a5422356c15962726df2261aa53354b0ff12662 (patch)
treeb6c5ae80b837bda38957cef07816b511515ffdcb /src/reflections.h
parent6a476e010468f27e02df6bb90a1ea197bd9d039d (diff)
Reduce the scope of "count"
Lists of counts had pervaded every corner of CrystFEL, being used as markers for the presence of reflections. Now we have a better way of doing this, the ReflItemList, and few parts of the suite apart from process_hkl have any business knowing how many observations were made of a particular reflection.
Diffstat (limited to 'src/reflections.h')
-rw-r--r--src/reflections.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/reflections.h b/src/reflections.h
index 84946f1a..de5feb72 100644
--- a/src/reflections.h
+++ b/src/reflections.h
@@ -18,18 +18,18 @@
#include "cell.h"
+#include "utils.h"
-extern void write_reflections(const char *filename, unsigned int *counts,
- double *ref, double *phases, int zone_axis,
- UnitCell *cell, unsigned int min_counts);
+extern void write_reflections(const char *filename, ReflItemList *items,
+ double *intensities, double *phases,
+ unsigned int *counts, UnitCell *cell);
-extern double *read_reflections(const char *filename, unsigned int *counts,
- double *phases);
+extern ReflItemList *read_reflections(const char *filename,
+ double *intensities, double *phases,
+ unsigned int *counts);
extern double *ideal_intensities(double complex *sfac);
-extern void divide_down(double *intensities, unsigned int *counts);
-
#endif /* REFLECTIONS_H */