Get Symmetry

From PyMOLWiki
Revision as of 04:55, 1 June 2015 by Sbliven (talk | contribs) (Adding description of return value)
Jump to navigation Jump to search

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