Statistiques
| Révision :

root / ase / examples / stm.py @ 1

Historique | Voir | Annoter | Télécharger (213 octet)

1
from ase import Atoms
2
from ase.dft import STM
3
from gpaw import GPAW
4
calc = GPAW('Al100.gpw')
5
a0 = calc.get_atoms()
6
stm = STM(calc, [0, 1, 2])
7
c = stm.get_averaged_current(2.5)
8
h = stm.scan(c)
9
print h[8]-h[:, 8]
10

    
11