Get Symmetry: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
(Adding description of return value)
Line 1: Line 1:
'''get_symmetry''' can be used to obtain the crystal and spacegroup parameters for a molecule
'''get_symmetry''' can be used to obtain the crystal and spacegroup parameters for a molecule
(FUTURE - map object - FUTURE)
(FUTURE - map object - FUTURE)
Line 5: Line 4:
===USAGE===
===USAGE===
  get_symmetry object-name-or-selection
  get_symmetry object-name-or-selection
===DESCRIPTION===
Returns a tuple containing the following 7 values:
* The unit cell lengths (a,b,c)
* The unit cell angles (alpha, beta, gamma)
* The space group name (e.g. "P 21 21 21")


===PYMOL API===
===PYMOL API===
Line 10: Line 17:
cmd.get_symmetry(string selection)  
cmd.get_symmetry(string selection)  
</source>
</source>
===See Also===
* [[Supercell]]


[[Category:Commands|Get Symmetry]]
[[Category:Commands|Get Symmetry]]

Revision as of 04:55, 1 June 2015

get_symmetry can be used to obtain the crystal and spacegroup parameters for a molecule (FUTURE - map object - FUTURE)

USAGE

get_symmetry object-name-or-selection

DESCRIPTION

Returns a tuple containing the following 7 values:

  • The unit cell lengths (a,b,c)
  • The unit cell angles (alpha, beta, gamma)
  • The space group name (e.g. "P 21 21 21")

PYMOL API

cmd.get_symmetry(string selection)

See Also