Get Symmetry: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
 
(maps)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''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===
===DESCRIPTION===
    "get_symmetry" can be used to obtain the crystal
 
  and spacegroup parameters for a molecule
Returns a tuple containing the following 7 values:
  (FUTURE - map object - FUTURE)
 
* The unit cell lengths (a,b,c)
===USAGE===
* The unit cell angles (alpha, beta, gamma)
    get_symmetry object-name-or-selection
* The space group name (e.g. "P 21 21 21")
 
===PYMOL API===
===PYMOL API===
<source lang="python">
<source lang="python">
  cmd.get_symmetry(string selection)  
cmd.get_symmetry(string selection)  
</source>
</source>
 
===See Also===
 
* [[Set_Symmetry|set_symmetry]]
* [[symmetry_copy]]
* [[Supercell]]


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

Latest revision as of 01:53, 19 February 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