aboutsummaryrefslogtreecommitdiff
path: root/src/geometry.h
blob: 3e25a8a3fb320f55f5287e8774e2d2bea3058a35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * geometry.h
 *
 * Geometry of diffraction
 *
 * (c) 2006-2010 Thomas White <taw@physics.org>
 *
 * Part of CrystFEL - crystallography with a FEL
 *
 */

#ifndef GEOMETRY_H
#define GEOMETRY_H


#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

extern struct reflhit *find_intersections(struct image *image, UnitCell *cell,
                                          double divergence, double bandwidth,
                                          int *n, int output);

extern double partiality(struct image *image, signed int h,
                         signed int k, signed int l);
extern double integrate_all(struct image *image, struct reflhit *hits, int n);


#endif	/* GEOMETRY_H */