From f38be837bd33dfc4d98d251b2e81d5fa555a4f5c Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 17 Mar 2010 11:35:04 +0100 Subject: Attempt to match multiple cells --- src/image.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/image.h') 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; }; -- cgit v1.2.3