| Home | Trees | Indices | Help |
|
|---|
|
|
Symmetry utility functions such as expansion of asymmetric unit, and generation of positional constraints.
|
|||
|
_Position2Tuple Create callable object that converts fractional coordinates to a tuple of integers with given precision. |
|||
|
GeneratorSite Storage of data related to a generator positions. |
|||
|
ExpandAsymmetricUnit Expand asymmetric unit and anisotropic thermal displacement... |
|||
|
SymmetryConstraints Generate symmetry constraints for specified positions Data members: spacegroup -- instance of SpaceGroup positions -- all positions to be constrained Uijs -- thermal factors for all positions (defaults to zeros) sgoffset -- optional offset of space group origin [0, 0, 0] eps -- cutoff for equivalent positions Calculated data members: corepos -- list of of positions in the asymmetric unit coremap -- dictionary mapping indices of asymmetric core positions to indices of all symmetry related positions poseqns -- list of coordinate formula dictionaries per each site. |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
__id__ =
|
|||
epsilon = 1e-05
|
|||
stdUsymbols =
|
|||
_rx_constant_formula = re.compile(r'
|
|||
|
|||
Check if space group allows passed lattice parameters. spacegroup -- instance of SpaceGroup a, b, c, alpha, beta, gamma -- lattice parameters Return bool. |
Check if formula string is constant. True when argument is a floating point number or a fraction of float with integer. s -- formula string Return bool. |
Smallest difference between two coordinates in periodic lattice. xyz0, xyz1 -- fractional coordinates Return dxyz, a numpy.array dxyz with 0 <= dxyz <= 0.5. |
Index of the nearest site to a specified position. sites -- list of coordinates or a 2-dimensional numpy.array xyz -- single position Return integer. |
Equality of two coordinates with optional tolerance. xyz0, xyz1 -- fractional coordinates eps -- tolerance for equality of coordinates Return bool. |
Obtain unique equivalent positions and corresponding operations. spacegroup -- instance of SpaceGroup xyz -- position to be expanded sgoffset -- offset of space group origin [0, 0, 0] eps -- cutoff for equal positions Return a tuple with (list of unique equivalent positions, nested list of SpaceGroups.SymOp instances, site multiplicity). |
Find a list of symmetry operations which contains identity. symops -- nested list of SymOp instances Return the list-item in symops which contains identity. Raise ValueError when identity was not found. |
Remove constant items from formula dictionary.
eqdict -- formula dictionary which maps standard variable symbols
("x", "U11") to string formulas ("0", "-x3", "z7 +0.5")
Return pruned formula dictionary.
|
|
|||
__id__
|
_rx_constant_formula
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Fri Apr 10 19:10:01 2009 | http://epydoc.sourceforge.net |