aboutsummaryrefslogtreecommitdiff
path: root/src/likelihood.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-05-04 07:38:31 -0700
committerThomas White <taw@bitwiz.org.uk>2010-05-04 08:56:17 -0700
commite447c2efb128823c93358c51a7d8f23636740f68 (patch)
tree68fb800a56d2e06cc6f3610b58a26ecc9bb6cb57 /src/likelihood.h
parent07d406ce05760f633f72c2c3683dd3466423321a (diff)
process_hkl: Implement --scale option
Diffstat (limited to 'src/likelihood.h')
-rw-r--r--src/likelihood.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/likelihood.h b/src/likelihood.h
new file mode 100644
index 00000000..9a773829
--- /dev/null
+++ b/src/likelihood.h
@@ -0,0 +1,29 @@
+/*
+ * likelihood.h
+ *
+ * Likelihood maximisation
+ *
+ * (c) 2006-2010 Thomas White <taw@physics.org>
+ *
+ * Part of CrystFEL - crystallography with a FEL
+ *
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#ifndef LIKELIHOOD_H
+#define LIKELIHOOD_H
+
+
+extern void detwin_intensities(const double *model, double *new_pattern,
+ const unsigned int *model_counts,
+ unsigned int *new_counts);
+
+extern void scale_intensities(const double *model, double *new_pattern,
+ const unsigned int *model_counts,
+ unsigned int *new_counts);
+
+
+#endif /* LIKELIHOOD_H */