File: ptable.py

package info (click to toggle)
python-ase 3.26.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,484 kB
  • sloc: python: 148,112; xml: 2,728; makefile: 110; javascript: 47
file content (11 lines) | stat: -rw-r--r-- 245 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
# creates: ptable.png
from ase.utils.ptable import ptable

atoms = ptable()
atoms.write('ptable.png')

# Calling "povray ptable_pov.ini" will render it with povray.
# atoms.write('ptable_pov.pov')

# from ase.visualize import view
# view(atoms)