aboutsummaryrefslogtreecommitdiff
path: root/tests/ring_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/ring_check.c
parent4ac5b40dd5f7e4dadf98fa85408ca9230c3d7dbb (diff)
Expose a couple more functions for easier testing
Diffstat (limited to 'tests/ring_check.c')
-rw-r--r--tests/ring_check.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/ring_check.c b/tests/ring_check.c
index dac0d90f..f4830068 100644
--- a/tests/ring_check.c
+++ b/tests/ring_check.c
@@ -33,8 +33,13 @@
#include <image.h>
#include <utils.h>
-#include "../libcrystfel/src/peaks.c"
+extern int integrate_peak(struct image *image,
+ int p_cfs, int p_css, int pn,
+ double *pfs, double *pss,
+ double *intensity, double *sigma,
+ double ir_inn, double ir_mid, double ir_out,
+ int *saturated);
/* The third integration check draws a Poisson background and checks that, on
* average, it gets subtracted by the background subtraction. */