blob: 80f9c6d446127bc06373d2376ceddaf04f67212b (
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
*
* Geometrical (Lorentz) Corrections
*
* (c) 2006 Thomas White <taw27@cam.ac.uk>
* Synth2D - two-dimensional Fourier synthesis
*
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef GEOMETRY_H
#define GEOMETRY_H
#include "reflist.h"
typedef enum {
GEOMETRY_CORRECTION_TYPE_VINCENT_MIDGLEY,
GEOMETRY_CORRECTION_TYPE_GJONNES,
GEOMETRY_CORRECTION_TYPE_GJONNES_DIVERGENCE
} GeometryCorrectionType;
extern void geometry_correct(ReflectionList *reflections, GeometryCorrectionType correction_type, double wavenumber, double R);
extern void geometry_dialog_open(void);
#endif /* GEOMETRY_H */
|