aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-12-04 16:32:56 +0100
committerThomas White <taw@physics.org>2018-12-04 16:32:56 +0100
commit1f2b0719735d4c58fa17df0e9c672dff0456fe45 (patch)
treed2f69868b72a0dc56f9d2ced96deb188f0bd7c2c
parented52e6254af11ca6df5d52c5aa42f0bc61d3e4c1 (diff)
Whitespace
-rw-r--r--libcrystfel/src/detector.h94
1 files changed, 47 insertions, 47 deletions
diff --git a/libcrystfel/src/detector.h b/libcrystfel/src/detector.h
index a2be2b47..cb0fc0c4 100644
--- a/libcrystfel/src/detector.h
+++ b/libcrystfel/src/detector.h
@@ -122,55 +122,55 @@ struct rg_collection
*/
struct panel
{
- char name[1024]; /* Name for this panel */
-
- double cnx; /* Location of corner (min_fs,min_ss) in pixels */
- double cny;
- double coffset;
- double clen; /* Camera length in metres */
- char *clen_from;
- char *mask;
- char *mask_file;
+ char name[1024]; /* Name for this panel */
+
+ double cnx; /* Location of corner (min_fs,min_ss) in pixels */
+ double cny;
+ double coffset;
+ double clen; /* Camera length in metres */
+ char *clen_from;
+ char *mask;
+ char *mask_file;
char *satmap;
char *satmap_file;
- double res; /* Resolution in pixels per metre */
- char badrow; /* 'x' or 'y' */
- int no_index; /* Don't index peaks in this panel if non-zero */
- double adu_per_photon; /* Number of ADU per photon */
- double max_adu; /* Treat pixel as unreliable if higher than this */
- char *data;
-
- double adu_per_eV; /* Number of ADU per eV */
-
- struct dim_structure *dim_structure;
-
- double fsx;
- double fsy;
- double fsz;
- double ssx;
- double ssy;
- double ssz;
-
- double rail_x;
- double rail_y;
- double rail_z;
- double clen_for_centering;
-
- double xfs;
- double yfs;
- double xss;
- double yss;
-
- /* Position of the panel in the data block in the file. The panels may
- * get moved around when the file is loaded (see hdf5_read2()),
- * especially if the panels come from different HDF5 elements. */
- int orig_min_fs;
- int orig_max_fs;
- int orig_min_ss;
- int orig_max_ss;
-
- int w; /* Width, calculated as max_fs-min_fs+1 */
- int h; /* Height, calculated as max_ss-min_ss+1 */
+ double res; /* Resolution in pixels per metre */
+ char badrow; /* 'x' or 'y' */
+ int no_index; /* Don't index peaks in this panel if non-zero */
+ double adu_per_photon; /* Number of ADU per photon */
+ double max_adu; /* Treat pixel as unreliable if higher than this */
+ char *data;
+
+ double adu_per_eV; /* Number of ADU per eV */
+
+ struct dim_structure *dim_structure;
+
+ double fsx;
+ double fsy;
+ double fsz;
+ double ssx;
+ double ssy;
+ double ssz;
+
+ double rail_x;
+ double rail_y;
+ double rail_z;
+ double clen_for_centering;
+
+ double xfs;
+ double yfs;
+ double xss;
+ double yss;
+
+ /* Position of the panel in the data block in the file. The panels may
+ * get moved around when the file is loaded (see hdf5_read2()),
+ * especially if the panels come from different HDF5 elements. */
+ int orig_min_fs;
+ int orig_max_fs;
+ int orig_min_ss;
+ int orig_max_ss;
+
+ int w; /* Width, calculated as max_fs-min_fs+1 */
+ int h; /* Height, calculated as max_ss-min_ss+1 */
};