blob: 20060f21f1813207bae330d8e7c2bf6fc3e05675 (
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
30
31
32
33
34
35
36
37
38
|
/*
* reflections.h
*
* Utilities for handling reflections
*
* (c) 2006-2010 Thomas White <taw@physics.org>
*
* Part of CrystFEL - crystallography with a FEL
*
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifndef REFLECTIONS_H
#define REFLECTIONS_H
#include "cell.h"
#include "utils.h"
extern double *poisson_esds(double *intensities, ReflItemList *items,
double adu_per_photon);
extern void write_reflections(const char *filename, ReflItemList *items,
double *intensities, double *esds, double *phases,
unsigned int *counts, UnitCell *cell);
extern ReflItemList *read_reflections(const char *filename,
double *intensities, double *phases,
unsigned int *counts, double *esds);
extern double *ideal_intensities(double complex *sfac);
#endif /* REFLECTIONS_H */
|