aboutsummaryrefslogtreecommitdiff
path: root/src/image.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-03-17 11:35:04 +0100
committerThomas White <taw@physics.org>2010-03-17 11:35:04 +0100
commitf38be837bd33dfc4d98d251b2e81d5fa555a4f5c (patch)
tree283e8886519dd42c87b25436a897c15bd045d926 /src/image.h
parent353a4224b3951be76bbc19bc043d24bfaf0590f6 (diff)
Attempt to match multiple cells
Diffstat (limited to 'src/image.h')
-rw-r--r--src/image.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/image.h b/src/image.h
index 5715d570..dfd02d05 100644
--- a/src/image.h
+++ b/src/image.h
@@ -26,6 +26,9 @@
#include "detector.h"
+#define MAX_CELL_CANDIDATES (32)
+
+
/* Structure describing a feature in an image */
struct imagefeature {
@@ -71,6 +74,8 @@ struct image {
double *twotheta;
struct molecule *molecule;
UnitCell *indexed_cell;
+ UnitCell *candidate_cells[MAX_CELL_CANDIDATES];
+ int ncells;
struct detector det;
struct quaternion orientation;
@@ -94,6 +99,10 @@ struct image {
/* DirAx auto-indexing high-level stuff */
int dirax_step;
int dirax_read_cell;
+ int best_acl;
+ int best_acl_nh;
+ int acls_tried[MAX_CELL_CANDIDATES];
+ int n_acls_tried;
};