aboutsummaryrefslogtreecommitdiff
path: root/src/templates.h
blob: 33e6c75e4033aad388ad8c4b33805a358aee4127 (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
/*
 * templates.h
 *
 * Indexing by template matching
 *
 * (c) 2006-2010 Thomas White <taw@physics.org>
 *
 * Part of CrystFEL - crystallography with a FEL
 *
 */

#ifndef TEMPLATES_H
#define TEMPLATES_H

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


#include "index.h"
#include "image.h"
#include "cell.h"

extern IndexingPrivate *generate_templates(UnitCell *cell, const char *filename,
                                           struct detector *det,
                                           double nominal_photon_energy);


extern void match_templates(struct image *image, IndexingPrivate *ipriv);

extern void free_templates(IndexingPrivate *priv);

#endif	/* TEMPLATES_H */