diff options
author | Kenneth Beyerlein <kenneth.beyerlein@desy.de> | 2012-06-13 17:32:07 +0200 |
---|---|---|
committer | Kenneth Beyerlein <kenneth.beyerlein@desy.de> | 2012-06-13 17:32:07 +0200 |
commit | b90ddc13d5638aa5e9e4094228f464ce48989eb7 (patch) | |
tree | 18ee19b6a4a2c73cb5f6847a7d97051914ee0c98 /tests | |
parent | b6e0b7972e3dbdace0034d439b992faf3ac8c454 (diff) |
Mask peaks in the background calculation of integrate_peak.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration_check.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/integration_check.c b/tests/integration_check.c index 2d18ac5a..7fe98fa0 100644 --- a/tests/integration_check.c +++ b/tests/integration_check.c @@ -203,6 +203,8 @@ int main(int argc, char *argv[]) image.height = 128; memset(image.data, 0, 128*128*sizeof(float)); + image.reflections=reflist_new(); + /* First check: no intensity -> no peak, or very low intensity */ r = integrate_peak(&image, 64, 64, &fsp, &ssp, &intensity, &sigma, 10.0, 15.0, 17.0); |