aboutsummaryrefslogtreecommitdiff
path: root/src/image.h
diff options
context:
space:
mode:
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;
};