EMAN Reference: Euler Class


alphafloat alpha()
altfloat alt()
azfloat az()
betafloat beta()
difffloat diff(Euler angle, bool nophi=true)
find angle between two direction vectors
e0float e0()
e1float e1()
e2float e2()
e3float e3()
EulerEuler();
Euler(float a1, float a2, float a3);
Euler(float a1, float a2, float a3, EulerType type);
Euler(float e1, float e2, float e3, float e0, EulerType type);
EulerMultEuler EulerMult(Euler bc)
returns the value of the given rotation
FirstSymEuler FirstSym()
initializes
fromLeftfromLeft(Euler leftEuler)
rotates a given rotation on the left

fromLeft(alt, az, phi)
rotates a given rotation on the left
fromMRCfromMRC(theta, phi, omega)
set from MRC angles
gammafloat gamma()
gammaSpiderfloat gammaSpider()
getByTypetuple getByType(EulerType type)
Return Euler values in a tuple given a type.
getMaxSymElint getMaxSymEl()
gets the order of the group
incrementincrement(float delta_alt, float delta_az, float del_phi)
increment an Euler in place
initinit()
initialize an Euler instance.
inverseEuler inverse()
takes the inverse of an Euler instance
n1float n1()
n1sgifloat n1sgi()
n2float n2()
n2sgifloat n2sgi()
n3float n3()
n3sgifloat n3sgi()
NextSymEuler NextSym()
omegaMRCfloat omegaMRC()
phifloat phi()
phiMRCfloat phiMRC()
phiSpiderfloat phiSpider()
Printprint(string id=None, FILE out=stdout)
printMatrixprintMatrix(string id=None, FILE out=stdout)
Qfloat Q()
Qsgifloat Qsgi()
rectifyrectify()
rectify an Euler instance.
resetSymresetSym()
initializes symcounter_ without ing 1st element
setAnglesetAngle(float a1, float a2, float a3, EulerType type = Euler.EMAN)
setAngle(float e1, float e2, float e3, float e0, EulerType type)
setByTypesetByType(tuple value, EulerType type)
Set Euler values given a tuple and the type.
setSymsetSym(string symmetry)
initialize symcounter to zero
SymNEuler SymN(n)
returns the n'th symmetric element
thetaMRCfloat thetaMRC()
thetaSpiderfloat thetaSpider()
validint valid()