From 54176de692b7709e1148904089229f09758436f1 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 8 Apr 2014 15:58:34 +0200 Subject: indexamajig: Add --push-res --- libcrystfel/src/integration.c | 4 ++-- libcrystfel/src/integration.h | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'libcrystfel/src') diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c index 91fe3468..bf8cfadd 100644 --- a/libcrystfel/src/integration.c +++ b/libcrystfel/src/integration.c @@ -1799,7 +1799,7 @@ static void apply_resolution_cutoff(Crystal *cr, double res) } -void integrate_all(struct image *image, IntegrationMethod meth, +void integrate_all(struct image *image, IntegrationMethod meth, double push_res, double ir_inn, double ir_mid, double ir_out, IntDiag int_diag, signed int idh, signed int idk, signed int idl) @@ -1840,7 +1840,7 @@ void integrate_all(struct image *image, IntegrationMethod meth, crystal_set_resolution_limit(cr, res); if ( meth & INTEGRATION_RESCUT ) { - apply_resolution_cutoff(cr, res); + apply_resolution_cutoff(cr, res+push_res); } } diff --git a/libcrystfel/src/integration.h b/libcrystfel/src/integration.h index ee13b980..3fd4e4ac 100644 --- a/libcrystfel/src/integration.h +++ b/libcrystfel/src/integration.h @@ -83,7 +83,8 @@ typedef enum { extern IntegrationMethod integration_method(const char *t, int *err); extern void integrate_all(struct image *image, IntegrationMethod meth, - double ir_inn, double ir_mid, double ir_out, + double push_res, + double ir_inn, double ir_mid, double ir_out, IntDiag int_diag, signed int idh, signed int idk, signed int idl); -- cgit v1.2.3