Differences between revisions 2 and 6 (spanning 4 versions)
Revision 2 as of 2008-08-14 21:43:32
Size: 196
Comment:
Revision 6 as of 2008-08-14 22:33:42
Size: 829
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Transformations in the context of Projections, Reconstructions, and in General == == Transformations in the context of projections, reconstructions, and in general ==
Line 3: Line 3:
=== Transforming an EMData Object === === Transforming an EMData object ===
Line 5: Line 5:
When an EMData object An EMData object may be transformed using the following syntax

{{{#!python
e = EMData("mydata.hdf")
t = Transform3D(EULER_EMAN,10,23,0) # three angles in the EMAN convention are az=10,alt=23,phi=0.
# The convention may also be EULER_SPIDER, EULER_IMAGIC, EULER_MRC, EULER_SPIN, EULER_XYZ
t.set_pretrans(1,1,1)
t.set_postrans(2,2,2)
e.rotate_translate(t)
}}}

This next section will look better once we get mathml working

A pixel given at coordinate vector v = [x,y,z]^T will be transformed using the following"

vhat = T_post R T_pre v

Where the rotation matrix R is as defined in Baldwin and Penczek 2007.
Line 8: Line 25:
=== Transformation of Projections === === Transforms and Euler Angles in the context of Projections ===

Transformations in the context of projections, reconstructions, and in general

Transforming an EMData object

An EMData object may be transformed using the following syntax

   1 e = EMData("mydata.hdf")
   2 t = Transform3D(EULER_EMAN,10,23,0) # three angles in the EMAN convention are az=10,alt=23,phi=0. 
   3 # The convention may also be EULER_SPIDER, EULER_IMAGIC, EULER_MRC, EULER_SPIN, EULER_XYZ
   4 t.set_pretrans(1,1,1)
   5 t.set_postrans(2,2,2)
   6 e.rotate_translate(t)

This next section will look better once we get mathml working

A pixel given at coordinate vector v = [x,y,z]^T will be transformed using the following"

vhat = T_post R T_pre v

Where the rotation matrix R is as defined in Baldwin and Penczek 2007.

Transforms and Euler Angles in the context of Projections

EMAN2/TransformConventions (last edited 2009-02-04 21:14:56 by DavidWoolford)