aboutsummaryrefslogtreecommitdiff
path: root/tests/prof2d_check.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-07-28 14:46:19 +0200
committerThomas White <taw@physics.org>2020-07-29 18:53:45 +0200
commit013c762b667a0fede74377cb0f9799d3b3262640 (patch)
tree7959944636531421246917a81226321f9bab5eca /tests/prof2d_check.c
parent4ac5b40dd5f7e4dadf98fa85408ca9230c3d7dbb (diff)
Expose a couple more functions for easier testing
Diffstat (limited to 'tests/prof2d_check.c')
-rw-r--r--tests/prof2d_check.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/prof2d_check.c b/tests/prof2d_check.c
index f291c915..28ecd67c 100644
--- a/tests/prof2d_check.c
+++ b/tests/prof2d_check.c
@@ -31,10 +31,18 @@
#include <image.h>
#include <utils.h>
+#include <cell.h>
+#include <cell-utils.h>
+#include <geometry.h>
+#include <integration.h>
#include "histogram.h"
-#include "../libcrystfel/src/integration.c"
+extern void integrate_prof2d(IntegrationMethod meth,
+ Crystal *cr, struct image *image, IntDiag int_diag,
+ signed int idh, signed int idk, signed int idl,
+ double ir_inn, double ir_mid, double ir_out,
+ pthread_mutex_t *term_lock, int **masks);
#define ADD_PX(fs, ss, val) \