aboutsummaryrefslogtreecommitdiff
path: root/src/templates.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-08-16 14:46:42 +0200
committerThomas White <taw@physics.org>2012-02-22 15:26:55 +0100
commit4417dabb492eb07bec9834bc9bc99165cd054c73 (patch)
tree2349b95369ac6b3d35508b8b9ee463da2dfd2f36 /src/templates.h
parent64d06800fa8a58ba6741322b533040eb63e31ca8 (diff)
indexamajig: Prepare for other indexing methods which need initial setup
Diffstat (limited to 'src/templates.h')
-rw-r--r--src/templates.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/templates.h b/src/templates.h
new file mode 100644
index 00000000..dad46843
--- /dev/null
+++ b/src/templates.h
@@ -0,0 +1,30 @@
+/*
+ * 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);
+
+
+extern void match_templates(struct image *image, IndexingPrivate *ipriv);
+
+#endif /* TEMPLATES_H */