aboutsummaryrefslogtreecommitdiff
path: root/src/geometry.h
blob: 8ebfc1b20c254f392af7a3f527a7ad8b5506b0fe (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 cpeak *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 cpeak *cpeaks, int n);


#endif	/* GEOMETRY_H */