/usr/share/python-ase/doc/ase/atoms.py is in python-ase-doc 3.15.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # creates: Au-wire.png
from ase import Atoms
from ase.io import write
d = 2.9
L = 10.0
wire = Atoms('Au',
positions=[(0, L / 2, L / 2)],
cell=(d, L, L),
pbc=(1, 0, 0))
wire *= (6, 1, 1)
wire.positions[:, 0] -= 2 * d
wire.cell[0, 0] = d
#view(wire, block=1)
write('Au-wire.pov', wire,
show_unit_cell=2,
rotation='12x,6y',
transparent=False, display=False, run_povray=True)
|