diff options
author | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-02-18 18:13:10 +0000 |
---|---|---|
committer | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-02-18 18:13:10 +0000 |
commit | ad0ec12fe1407b4887dce44ac39820d81d63ae38 (patch) | |
tree | 6661eea2c9a392b55461fef0472c0ab5f2c9593f /src/mrc.c | |
parent | e3bfcf077994c70aa965f9422d778bae5088f382 (diff) |
Remove vestigial vctx-volume calculation
git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@9 bf6ca9ba-c028-0410-8290-897cf20841d1
Diffstat (limited to 'src/mrc.c')
-rw-r--r-- | src/mrc.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -29,8 +29,6 @@ int mrc_read(ControlContext *ctx) { MRCExtHeader ext[1024]; unsigned int i; unsigned int extsize; - double sx, sy, sz; - unsigned int nx, ny, nz; double pixel_size; int16_t *image_total; unsigned int x, y; @@ -68,12 +66,6 @@ int mrc_read(ControlContext *ctx) { pixel_size = ext[0].pixel_size; printf("pixel_size=%f\n", pixel_size); - nx = mrc.nx; - ny = mrc.ny; - nz = (mrc.nx > mrc.ny)?mrc.nx:mrc.ny; //isn't this the number of images? ie usually less than nx or ny - sx = nx * pixel_size; - sy = ny * pixel_size; - sz = nz * pixel_size; ctx->reflectionctx = reflection_init(); ctx->fmode = FORMULATION_PIXELSIZE; ctx->first_image = 1; |