vmd.molecule.get_periodic

vmd.molecule.get_periodic()

Get the periodic cell layout

Parameters:
  • molid (int) – Molecule ID to query. Defaults to -1 (top molecule)
  • frame (int) – Frame to get box information from. Defaults to -1 (current)
Returns:

(dict str->float)

Periodic cell layout with values for keys ‘a’, ‘b’,

and ‘c’ representing the lengths of the unit cell along the first, second, and third unit cell vectors, respectively. Values for keys ‘alpha’, ‘beta’, and ‘gamma’ give the angle between sides B and C, A and C, and A and B, respectively.