diff options
author | Thomas White <taw@physics.org> | 2010-08-16 14:46:42 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:26:55 +0100 |
commit | 4417dabb492eb07bec9834bc9bc99165cd054c73 (patch) | |
tree | 2349b95369ac6b3d35508b8b9ee463da2dfd2f36 /src/templates.c | |
parent | 64d06800fa8a58ba6741322b533040eb63e31ca8 (diff) |
indexamajig: Prepare for other indexing methods which need initial setup
Diffstat (limited to 'src/templates.c')
-rw-r--r-- | src/templates.c | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/templates.c b/src/templates.c new file mode 100644 index 00000000..db28b9b9 --- /dev/null +++ b/src/templates.c @@ -0,0 +1,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) +{ +} |