aboutsummaryrefslogtreecommitdiff
path: root/src/index.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-10-31 10:41:22 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:04 +0100
commit9686edbcb2b5aeb4a553779c895b228d2ac56528 (patch)
treead741bdba9bc91c27c27a82c11485db925b82f52 /src/index.h
parent6c823bf1a6ce09e716c486dc116a358e93457a17 (diff)
indexamajig: Add other cell reduction possibilities, and remove --no-match
Diffstat (limited to 'src/index.h')
-rw-r--r--src/index.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/index.h b/src/index.h
index 0b740995..81549e00 100644
--- a/src/index.h
+++ b/src/index.h
@@ -22,6 +22,8 @@
#include "image.h"
#include "detector.h"
+
+/* Indexing methods */
typedef enum {
INDEXING_NONE,
INDEXING_DIRAX,
@@ -29,6 +31,14 @@ typedef enum {
} IndexingMethod;
+/* Cell reduction methods */
+enum {
+ CELLR_NONE,
+ CELLR_REDUCE,
+ CELLR_COMPARE
+};
+
+
typedef struct _indexingprivate IndexingPrivate;
extern IndexingPrivate *prepare_indexing(IndexingMethod indm, UnitCell *cell,
@@ -39,7 +49,7 @@ extern IndexingPrivate *prepare_indexing(IndexingMethod indm, UnitCell *cell,
extern void map_all_peaks(struct image *image);
extern void index_pattern(struct image *image, UnitCell *cell,
- IndexingMethod indm, int no_match, int verbose,
+ IndexingMethod indm, int cellr, int verbose,
IndexingPrivate *priv);
extern void cleanup_indexing(IndexingPrivate *priv);