aboutsummaryrefslogtreecommitdiff
path: root/src/mrc.c
diff options
context:
space:
mode:
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;