diff options
author | Thomas White <taw@physics.org> | 2010-06-30 14:39:14 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:26:51 +0100 |
commit | 60e0ffd856622f334aa02cf7aa377a3baa011093 (patch) | |
tree | 58c7c0988015dee0c53dc2b2d9c20272f2336e45 /src/render_hkl.c | |
parent | 7b4161e498b0ab392b7b26c3ad33bb7f8f1c5506 (diff) |
render_hkl: Be more clear about resolution
Diffstat (limited to 'src/render_hkl.c')
-rw-r--r-- | src/render_hkl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render_hkl.c b/src/render_hkl.c index 106d1b58..675a93da 100644 --- a/src/render_hkl.c +++ b/src/render_hkl.c @@ -132,7 +132,8 @@ static void render_za(UnitCell *cell, double *ref, unsigned int *c) max_res /= 1e9; max_u /= 0.5; max_v /= 0.5; - printf("Maximum resolution is %f nm^-1\n", max_res); + printf("Maximum resolution is 1/d = %5.3f nm^-1, d = %5.3f nm\n", + max_res*2.0, 1.0/(max_res*2.0)); if ( max_intensity <= 0.0 ) { max_r = 4.0; |