File: surface.py

package info (click to toggle)
python-ase 3.24.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 15,448 kB
  • sloc: python: 144,945; xml: 2,728; makefile: 113; javascript: 47
file content (10 lines) | stat: -rw-r--r-- 214 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
# creates: surface.png
import runpy

from ase.io import read, write

runpy.run_path('N2Cu.py')
image = read('N2Cu.traj@-1')
write('surface.pov',
      image,
      povray_settings=dict(transparent=False)).render()