aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-10-19 02:21:25 -0700
committerThomas White <taw@physics.org>2012-10-19 02:21:25 -0700
commit74314947ca4f4b57079a60768f2e2eb4ea242b9a (patch)
tree801ecabd2d957d967fda560f22ed84517a4aa421 /libcrystfel/src
parentb941277992bbb8f24cab48df263b25fd6aafd274 (diff)
Add useful comments
Diffstat (limited to 'libcrystfel/src')
-rw-r--r--libcrystfel/src/mosflm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libcrystfel/src/mosflm.c b/libcrystfel/src/mosflm.c
index 2677429a..2a080153 100644
--- a/libcrystfel/src/mosflm.c
+++ b/libcrystfel/src/mosflm.c
@@ -183,8 +183,14 @@ static void write_spt(struct image *image, const char *filename)
return;
}
+ /* Number of pixels in x, number of pixels in y, pixel size (mm),
+ * YSCALE, OMEGA */
fprintf(fh, "%10d %10d %10.8f %10.6f %10.6f\n", 1, 1, 0.0, 1.0, 0.0);
+
+ /* INVERTX, ISWUNG */
fprintf(fh, "%10d %10d\n", 0, 1);
+
+ /* XBEAM, YBEAM */
fprintf(fh, "%10.5f %10.5f\n", 0.0, 0.0);
n = image_feature_count(image->features);