diff options
Diffstat (limited to 'libcrystfel/src/integration.h')
-rw-r--r-- | libcrystfel/src/integration.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libcrystfel/src/integration.h b/libcrystfel/src/integration.h index 629cd9ee..f402682f 100644 --- a/libcrystfel/src/integration.h +++ b/libcrystfel/src/integration.h @@ -109,8 +109,22 @@ typedef enum { extern "C" { #endif +struct intcontext; + extern IntegrationMethod integration_method(const char *t, int *err); +extern struct intcontext *intcontext_new(struct image *image, + UnitCell *cell, + IntegrationMethod meth, + int ir_inn, int ir_mid, int ir_out, + int **masks); + +extern int integrate_rings_once(Reflection *refl, + struct intcontext *ic, + pthread_mutex_t *term_lock); + +extern void intcontext_free(struct intcontext *ic); + extern void integrate_all(struct image *image, IntegrationMethod meth, double ir_inn, double ir_mid, double ir_out, IntDiag int_diag, |