aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2009-11-25 11:38:55 +0100
committerThomas White <taw@physics.org>2009-11-25 11:38:55 +0100
commitd17980a0516a5854c44f64a77cde85c0a63fcf04 (patch)
tree81a295b8574c7ea91ea4af10bc8b23eeac966b5c /src
parent5278c19ddcaaee2c229080f1ca24371e4772b1d4 (diff)
Tidy up resolution display
Diffstat (limited to 'src')
-rw-r--r--src/ewald.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ewald.c b/src/ewald.c
index 478ca68e..9749f73c 100644
--- a/src/ewald.c
+++ b/src/ewald.c
@@ -96,15 +96,15 @@ void get_ewald(struct image *image)
s = 1.0e-9*modulus(qx, qy, qz)/2.0;
printf("At left edge: 2theta = %5.3f deg,"
" sin(theta)/lambda = %5.3f nm^-1,"
- " d = %f nm\n",
+ " d = %5.3f nm\n",
rad2deg(twotheta), s, 1.0/(2.0*s));
}
if ( (x==0) && (y==0) ) {
double s;
s = 1.0e-9*modulus(qx, qy, qz)/2.0;
- printf("At corner: 2theta = %5.3f deg,"
+ printf(" At corner: 2theta = %5.3f deg,"
" sin(theta)/lambda = %5.3f nm^-1,"
- " d = %f nm\n",
+ " d = %5.3f nm\n",
rad2deg(twotheta), s, 1.0/(2.0*s));
}