pwem.convert.symmetry module

This module returns the matrices related with the different point symmetries. Code based on chiomera file sym.py

class pwem.convert.symmetry.Icosahedron(circumscribed_radius=1, orientation='222', center=(0, 0, 0))[source]

Bases: object

coordinateSystemTransform(from_cs, to_cs)[source]
get2foldAxis()[source]
get3foldAxis()[source]
getEdges()[source]
getTriangles()[source]
getVertices()[source]
icosahedralMatrixTable()[source]
icosahedralSymmetryMatrices()[source]
icosahedronAngles()[source]
icosahedronEdgeLength(circumscribed_radius)[source]
icosahedronGeometry()[source]
pwem.convert.symmetry.getSymmetryMatrices(sym=0, n=1, center=(0, 0, 0))[source]

interface between scipion and chimera code chimera code uses tuples of tuples as matrices but scipion uses np.arrays (lists of lists) so let us convert them here