geometry

geometry

Synopsis

enum                PartialityModel;
RefList *           find_intersections                  (struct image *image,
                                                         Crystal *cryst);
RefList *           select_intersections                (struct image *image,
                                                         Crystal *cryst);
void                update_partialities                 (Crystal *cryst,
                                                         PartialityModel pmodel);
void                polarisation_correction             (RefList *list,
                                                         UnitCell *cell,
                                                         struct image *image);

Description

Details

enum PartialityModel

typedef enum {
	PMODEL_SPHERE,
	PMODEL_UNITY,
} PartialityModel;

A PartialityModel describes a geometrical model which can be used to calculate spot partialities and Lorentz correction factors.

PMODEL_SPHERE

Intersection of sphere with excited volume of reciprocal space.

PMODEL_UNITY

Set all all partialities and Lorentz factors to 1.

find_intersections ()

RefList *           find_intersections                  (struct image *image,
                                                         Crystal *cryst);

select_intersections ()

RefList *           select_intersections                (struct image *image,
                                                         Crystal *cryst);

update_partialities ()

void                update_partialities                 (Crystal *cryst,
                                                         PartialityModel pmodel);

polarisation_correction ()

void                polarisation_correction             (RefList *list,
                                                         UnitCell *cell,
                                                         struct image *image);