diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-06-12 22:04:13 -0700 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2010-06-12 22:04:13 -0700 |
commit | aeeedf258a83682168ee28c725475e5c2cca38fd (patch) | |
tree | 2a009b0a8c6f87e1ddbeb830680b319c116f072b | |
parent | 35646bc0b0bae8d35c6794bcc49e393072a8cf83 (diff) |
Improve resolution output
-rw-r--r-- | src/detector.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/detector.c b/src/detector.c index d0b03877..e1e120d2 100644 --- a/src/detector.c +++ b/src/detector.c @@ -136,9 +136,13 @@ void record_image(struct image *image, int do_poisson) progress_bar(x, image->width-1, "Post-processing"); } - STATUS("Max 2theta = %.2f deg, min d = %.2f nm (halve this to get the" - " voxel size for a synthesis)\n", + STATUS("Max 2theta = %.2f deg, min d = %.2f nm\n", rad2deg(max_tt), (image->lambda/(2.0*sin(max_tt/2.0)))/1e-9); + double tt_side = image->twotheta[512+image->width*0]; + STATUS("At 512,0: %.2f deg, min d = %.2f nm\n", + rad2deg(tt_side), (image->lambda/(2.0*sin(tt_side/2.0)))/1e-9); + + STATUS("Halve the d values to get the voxel size for a synthesis.\n"); } |