diff options
author | Thomas White <taw@physics.org> | 2009-11-13 19:07:04 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2009-11-13 19:07:04 +0100 |
commit | 2c3f428648146dc582a46fe74aca9e7474461e3a (patch) | |
tree | 3792e0f5f70aae9f5a35e546c395544df057d836 /src/detector.c | |
parent | 26bf7df5817d1df238698dc8f63e4543e746c7c1 (diff) |
Split f_lattice out
Diffstat (limited to 'src/detector.c')
-rw-r--r-- | src/detector.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/detector.c b/src/detector.c index 339ff626..9afe2cf3 100644 --- a/src/detector.c +++ b/src/detector.c @@ -34,7 +34,6 @@ void record_image(struct image *image) printf("%e photons are scattered per electron\n", ph_per_e); twotheta_max = image->twotheta[0]; - np = sqrt(pow(image->x_centre, 2.0) + pow(image->y_centre, 2.0)); sa_per_pixel = pow(2.0 * twotheta_max / np, 2.0); printf("sa per pixel=%e\n", sa_per_pixel); |