Get Symmetry

From PyMOLWiki
Revision as of 02:53, 19 February 2021 by Speleo3 (talk | contribs) (maps)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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