aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-06-21 11:03:15 +0200
committerThomas White <taw@physics.org>2013-06-21 11:03:15 +0200
commit2c10ba2c2d12b959d79a59fb7d01767dd8af76cf (patch)
treed374ed1f7275713ccaa448478d039f11f8683a5f /libcrystfel
parente60e8fe80a3c18a07de5d617bd19554a5137b3ac (diff)
Convert angle to degrees for GrainSpotter
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/grainspotter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/grainspotter.c b/libcrystfel/src/grainspotter.c
index 8def8091..36b2b8ec 100644
--- a/libcrystfel/src/grainspotter.c
+++ b/libcrystfel/src/grainspotter.c
@@ -290,7 +290,7 @@ static void write_gve(struct image *image, struct grainspotter_private *gp)
fprintf(fh, "%.6f %.6f %.6f 0 0 %.6f %.6f %.6f 0\n",
f->rz/1e10, f->rx/1e10, f->ry/1e10,
modulus(f->rx, f->ry, f->rz)/1e10, /* dstar */
- atan2(f->ry, f->rx), 0.0); /* eta, omega */
+ rad2deg(atan2(f->ry, f->rx)), 0.0); /* eta, omega */
}
fclose(fh);