diff options
author | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2008-01-22 12:43:28 +0000 |
---|---|---|
committer | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2008-01-22 12:43:28 +0000 |
commit | d0cf9ad6d2025cc3ac59e58511dde116d999b7e3 (patch) | |
tree | 50d2b8d24a7c75d9903eb6049b902a7112496850 /src/mrc.c | |
parent | 61f8a2450fd944920523c0153ea1702f72d751fb (diff) |
Nooooo! Use RADIANS internally...
git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@260 bf6ca9ba-c028-0410-8290-897cf20841d1
Diffstat (limited to 'src/mrc.c')
-rw-r--r-- | src/mrc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -79,7 +79,7 @@ int mrc_read(ControlContext *ctx) { } else { ctx->lambda = lambda(1000*ext[i].voltage); } - ctx->omega = ext[i].tilt_axis; + ctx->omega = deg2rad(ext[i].tilt_axis); ctx->pixel_size = ext[i].pixel_size; fseek(fh, mrc.next + sizeof(MRCHeader) + mrc.nx*mrc.ny*2*i, SEEK_SET); @@ -93,7 +93,7 @@ int mrc_read(ControlContext *ctx) { } free(image); - image_add(ctx->images, uimage, mrc.nx, mrc.ny, ext[i].a_tilt, ctx); + image_add(ctx->images, uimage, mrc.nx, mrc.ny, deg2rad(ext[i].a_tilt), ctx); } |