aboutsummaryrefslogtreecommitdiff
path: root/src/likelihood.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-06-28 12:12:49 +0200
committerThomas White <taw@physics.org>2012-02-22 15:26:51 +0100
commite3f93b71683c4e65d5e351c54174df0fabc11905 (patch)
tree6d08e8f63f8965be59d4ff9e643e11620e11cf85 /src/likelihood.h
parentce87fce11cbbbdc1c8ff1611eaf3255809ab6c87 (diff)
process_hkl: Use a different (array) indexing method to speed it up lots
Diffstat (limited to 'src/likelihood.h')
-rw-r--r--src/likelihood.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/likelihood.h b/src/likelihood.h
index 0a2bb407..ad6585eb 100644
--- a/src/likelihood.h
+++ b/src/likelihood.h
@@ -17,13 +17,16 @@
#define LIKELIHOOD_H
+#include "utils.h"
+
+
extern void detwin_intensities(const double *model, double *new_pattern,
const unsigned int *model_counts,
- unsigned int *new_counts);
+ ReflItemList *items);
extern void scale_intensities(const double *model, double *new_pattern,
const unsigned int *model_counts,
- unsigned int *new_counts, double f0,
+ ReflItemList *items, double f0,
int f0_valid);