integration

integration

Synopsis

#define             INTEGRATION_DEFAULTS_PROF2D
#define             INTEGRATION_DEFAULTS_RINGS
#define             INTEGRATION_METHOD_MASK
enum                IntegrationMethod;
enum                IntDiag;
void                integrate_all                       (struct image *image,
                                                         IntegrationMethod meth,
                                                         double ir_inn,
                                                         double ir_mid,
                                                         double ir_out,
                                                         IntDiag int_diag,
                                                         signed int idh,
                                                         signed int idk,
                                                         signed int idl);
void                integrate_all_2                     (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);
void                integrate_all_3                     (struct image *image,
                                                         IntegrationMethod meth,
                                                         PartialityModel pmodel,
                                                         double push_res,
                                                         double ir_inn,
                                                         double ir_mid,
                                                         double ir_out,
                                                         IntDiag int_diag,
                                                         signed int idh,
                                                         signed int idk,
                                                         signed int idl);
void                integrate_all_4                     (struct image *image,
                                                         IntegrationMethod meth,
                                                         PartialityModel pmodel,
                                                         double push_res,
                                                         double ir_inn,
                                                         double ir_mid,
                                                         double ir_out,
                                                         IntDiag int_diag,
                                                         signed int idh,
                                                         signed int idk,
                                                         signed int idl,
                                                         int results_pipe);
IntegrationMethod   integration_method                  (const char *t,
                                                         int *err);

Description

Details

INTEGRATION_DEFAULTS_PROF2D

#define INTEGRATION_DEFAULTS_PROF2D (INTEGRATION_PROF2D | INTEGRATION_CENTER)

INTEGRATION_DEFAULTS_RINGS

#define INTEGRATION_DEFAULTS_RINGS (INTEGRATION_RINGS)

INTEGRATION_METHOD_MASK

#define INTEGRATION_METHOD_MASK (0xff)

enum IntegrationMethod

typedef enum {
	INTEGRATION_NONE   = 0,

	/* The core integration methods themselves */
	INTEGRATION_RINGS  = 1,
	INTEGRATION_PROF2D = 2,

	/* Bits at the top of the IntegrationMethod are flags which modify the
	 * behaviour of the integration. */
	INTEGRATION_SATURATED = 256,
	INTEGRATION_CENTER = 512,
	INTEGRATION_RESCUT = 1024,
} IntegrationMethod;

An enumeration of all the available integration methods.

INTEGRATION_NONE

No integration at all

INTEGRATION_RINGS

Summation of pixel values inside ring, minus background

INTEGRATION_PROF2D

Two dimensional profile fitting

INTEGRATION_SATURATED

Integrate saturated reflections

INTEGRATION_CENTER

Center the peak in the box prior to integration

INTEGRATION_RESCUT

Stop integrating at the diffraction limit of the crystal

enum IntDiag

typedef enum {
	INTDIAG_NONE,
	INTDIAG_RANDOM,
	INTDIAG_ALL,
	INTDIAG_INDICES,
	INTDIAG_NEGATIVE,
	INTDIAG_IMPLAUSIBLE,
	INTDIAG_STRONG
} IntDiag;

An IntDiag describes the condition under which the integration subsystem should display diagnostic information to the user.

INTDIAG_NONE

Never show diagnostics

INTDIAG_RANDOM

Show diagnostics for a randomly selected 1% of reflections

INTDIAG_ALL

Show diagnostics for all reflections

INTDIAG_INDICES

Show diagnostics when the Miller indices of the reflection are the ones specified

INTDIAG_NEGATIVE

Show diagnostics when the measured intensity is less than minus three times its estimated error.

INTDIAG_IMPLAUSIBLE

Show diagnostics when the measured intensity is les than minus five times its estimated error.

INTDIAG_STRONG

Show diagnostics when the measured intensity is more than three times its estimated error.

integrate_all ()

void                integrate_all                       (struct image *image,
                                                         IntegrationMethod meth,
                                                         double ir_inn,
                                                         double ir_mid,
                                                         double ir_out,
                                                         IntDiag int_diag,
                                                         signed int idh,
                                                         signed int idk,
                                                         signed int idl);

integrate_all_2 ()

void                integrate_all_2                     (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);

integrate_all_3 ()

void                integrate_all_3                     (struct image *image,
                                                         IntegrationMethod meth,
                                                         PartialityModel pmodel,
                                                         double push_res,
                                                         double ir_inn,
                                                         double ir_mid,
                                                         double ir_out,
                                                         IntDiag int_diag,
                                                         signed int idh,
                                                         signed int idk,
                                                         signed int idl);

integrate_all_4 ()

void                integrate_all_4                     (struct image *image,
                                                         IntegrationMethod meth,
                                                         PartialityModel pmodel,
                                                         double push_res,
                                                         double ir_inn,
                                                         double ir_mid,
                                                         double ir_out,
                                                         IntDiag int_diag,
                                                         signed int idh,
                                                         signed int idk,
                                                         signed int idl,
                                                         int results_pipe);

integration_method ()

IntegrationMethod   integration_method                  (const char *t,
                                                         int *err);