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

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


#include "index.h"
#include "index-priv.h"


/* Private data for template indexing */
struct _indexingprivate_template
{
	struct _indexingprivate base;
};


IndexingPrivate *generate_templates(UnitCell *cell, const char *filename)
{
	struct _indexingprivate_template *priv;

	priv = calloc(1, sizeof(struct _indexingprivate_template));
	priv->base.indm = INDEXING_TEMPLATE;

	return (struct _indexingprivate *)priv;
}


void match_templates(struct image *image, IndexingPrivate *ipriv)
{
}