aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-10-19 10:56:37 -0700
committerThomas White <taw@physics.org>2012-10-19 10:56:37 -0700
commit73b9206e22099e5be9e0a17285cd271dace1b72d (patch)
tree737dffdad92c91de4aa6917af9b9283dc76e37ed /libcrystfel
parent673dae374edf54c04d41f44e0f95041d5cf1cc7a (diff)
Update a comment
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/mosflm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libcrystfel/src/mosflm.c b/libcrystfel/src/mosflm.c
index 2a080153..2de0c4e6 100644
--- a/libcrystfel/src/mosflm.c
+++ b/libcrystfel/src/mosflm.c
@@ -157,7 +157,10 @@ static int read_newmat(const char *filename, struct image *image)
image->candidate_cells[0] = cell_new();
- /* No idea why the cell comes out in this strange coordinate system */
+ /* The relationship between the coordinates in the spot file and the
+ * resulting matrix is diabolically complicated. This transformation
+ * seems to work, but is not derived by working through all the
+ * transformations. */
cell_set_reciprocal(image->candidate_cells[0],
-asy*c, -asz*c, asx*c,
-bsy*c, -bsz*c, bsx*c,