Differences between revisions 3 and 4
Revision 3 as of 2008-08-14 22:27:31
Size: 454
Comment:
Revision 4 as of 2008-08-14 22:29:17
Size: 566
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
t = Transform3D(EULER_EMAN,10,23,0) # three angles are az=10,alt=23,phi=0 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

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. The convention may also be EULER_SPIDER, EULER_IMAGIC, EULER_MRC, EULER_SPIN, EULER_XYZ
   3 t.set_pretrans(1,1,1)
   4 t.set_postrans(2,2,2)
   5 e.rotate_translate(t)

Transforms and Euler Angles in the context of Projections

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