diff options
author | Thomas White <taw@physics.org> | 2014-04-08 15:58:34 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-04-08 15:58:34 +0200 |
commit | 54176de692b7709e1148904089229f09758436f1 (patch) | |
tree | d71b180923743ee65d3b44f3d53eba09d4a0b9c8 /libcrystfel | |
parent | 2500081ea6724ec8bfcb68204150688095edbf99 (diff) |
indexamajig: Add --push-res
Diffstat (limited to 'libcrystfel')
-rw-r--r-- | libcrystfel/src/integration.c | 4 | ||||
-rw-r--r-- | libcrystfel/src/integration.h | 3 |
2 files changed, 4 insertions, 3 deletions
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); |