From 013c762b667a0fede74377cb0f9799d3b3262640 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 28 Jul 2020 14:46:19 +0200 Subject: Expose a couple more functions for easier testing --- tests/ring_check.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tests/ring_check.c') 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 #include -#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. */ -- cgit v1.2.3