This is a read-only mirror of pymolwiki.org

Difference between revisions of "Get Symmetry"

From PyMOL Wiki
Jump to navigation Jump to search
(Adding description of return value)
m (1 revision)
 
(2 intermediate revisions by 2 users not shown)
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 or map object.
(FUTURE - map object - FUTURE)
 
  
 
===USAGE===
 
===USAGE===
Line 20: Line 19:
 
===See Also===
 
===See Also===
  
 +
* [[Set_Symmetry|set_symmetry]]
 +
* [[symmetry_copy]]
 
* [[Supercell]]
 
* [[Supercell]]
  
 
[[Category:Commands|Get Symmetry]]
 
[[Category:Commands|Get Symmetry]]

Latest revision as of 03:05, 1 March 2021

get_symmetry can be used to obtain the crystal and spacegroup parameters for a molecule or map object.

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