aboutsummaryrefslogtreecommitdiff
path: root/src/image.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-06-02 14:22:02 +0200
committerThomas White <taw@physics.org>2010-06-02 14:22:02 +0200
commit50cf3c87d8357c2922199aad2a09fb98211f7e96 (patch)
treef636f62dd31a1e0ba6bd454515f4a871d212ffea /src/image.h
parent58b6ae91c195b88604373dfb61c54b49ab6e3ddb (diff)
Do indentation properly
Diffstat (limited to 'src/image.h')
-rw-r--r--src/image.h80
1 files changed, 40 insertions, 40 deletions
diff --git a/src/image.h b/src/image.h
index 0ca16745..70809d22 100644
--- a/src/image.h
+++ b/src/image.h
@@ -32,26 +32,26 @@
/* Structure describing a feature in an image */
struct imagefeature {
- struct image *parent;
- double x;
- double y;
- double intensity;
+ struct image *parent;
+ double x;
+ double y;
+ double intensity;
/* Partner for this feature (in another feature list) or NULL */
- struct imagefeature_struct *partner;
+ struct imagefeature_struct *partner;
/* Distance between this feature and its partner, if any. */
- double partner_d;
+ double partner_d;
/* Reciprocal space coordinates (m^-1 of course) of this feature */
- double rx;
- double ry;
- double rz;
+ double rx;
+ double ry;
+ double rz;
/* Internal use only */
- int valid;
+ int valid;
- const char *name;
+ const char *name;
};
/* An opaque type representing a list of image features */
@@ -80,47 +80,47 @@ struct reflhit {
/* Structure describing an image */
struct image {
- float *data;
- uint16_t *flags;
- double *twotheta;
- UnitCell *indexed_cell;
- UnitCell *candidate_cells[MAX_CELL_CANDIDATES];
- int ncells;
- struct detector det;
- const char *filename;
- struct reflhit *hits;
- int n_hits;
+ float *data;
+ uint16_t *flags;
+ double *twotheta;
+ UnitCell *indexed_cell;
+ UnitCell *candidate_cells[MAX_CELL_CANDIDATES];
+ int ncells;
+ struct detector det;
+ const char *filename;
+ struct reflhit *hits;
+ int n_hits;
- int id;
+ int id;
- struct quaternion orientation;
+ struct quaternion orientation;
/* Wavelength must always be given */
- double lambda; /* Wavelength in m */
+ double lambda; /* Wavelength in m */
/* Incident intensity (if unknown, put 1.0) */
- double f0;
- int f0_available;
+ double f0;
+ int f0_available;
- int width;
- int height;
+ int width;
+ int height;
- ImageFeatureList *features; /* "Experimental" features */
+ ImageFeatureList *features; /* "Experimental" features */
/* DirAx auto-indexing low-level stuff */
- int dirax_pty;
- pid_t dirax_pid;
- char *dirax_rbuffer;
- int dirax_rbufpos;
- int dirax_rbuflen;
+ int dirax_pty;
+ pid_t dirax_pid;
+ char *dirax_rbuffer;
+ int dirax_rbufpos;
+ int dirax_rbuflen;
/* 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;
+ int dirax_step;
+ int dirax_read_cell;
+ int best_acl;
+ int best_acl_nh;
+ int acls_tried[MAX_CELL_CANDIDATES];
+ int n_acls_tried;
};