aboutsummaryrefslogtreecommitdiff
path: root/src/mrc.c
diff options
context:
space:
mode:
authortaw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1>2007-02-18 18:13:10 +0000
committertaw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1>2007-02-18 18:13:10 +0000
commitad0ec12fe1407b4887dce44ac39820d81d63ae38 (patch)
tree6661eea2c9a392b55461fef0472c0ab5f2c9593f /src/mrc.c
parente3bfcf077994c70aa965f9422d778bae5088f382 (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.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mrc.c b/src/mrc.c
index 7d9b5c5..26b43cb 100644
--- a/src/mrc.c
+++ b/src/mrc.c
@@ -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;