diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-06-12 22:10:19 -0700 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2010-06-12 22:10:19 -0700 |
commit | 39a51a503e729b93938777548888f57012c81331 (patch) | |
tree | e744a72d88430a8c3b2b9fab272db6076a37a547 | |
parent | aeeedf258a83682168ee28c725475e5c2cca38fd (diff) |
More resolution info
-rw-r--r-- | src/detector.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/detector.c b/src/detector.c index e1e120d2..d4744ffd 100644 --- a/src/detector.c +++ b/src/detector.c @@ -138,10 +138,15 @@ void record_image(struct image *image, int do_poisson) 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); + tt_side = image->twotheta[0+image->width*512]; + STATUS("At 0,512: %.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"); } |