18.11.2012 Views

ASE Manual Release 3.6.1.2825 CAMd - CampOS Wiki

ASE Manual Release 3.6.1.2825 CAMd - CampOS Wiki

ASE Manual Release 3.6.1.2825 CAMd - CampOS Wiki

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>ASE</strong> <strong>Manual</strong>, <strong>Release</strong> 3.6.1.2828<br />

The plot below shows the dividing surfaces of the Hydrogen Bader volumes. This was achieved by plotting a<br />

contour surface of AtIndex.dat at an isovalue of 1.5.<br />

You can attach the output charges from the bader program to the atoms for further processing:<br />

from ase import *<br />

from ase.io.bader import attach_charges<br />

# define the molecule as above<br />

atoms = molecule(’H2O’)<br />

atoms.set_cell([7.5, 9, 9])<br />

atoms.center()<br />

# the next two lines are equivalent (only one needed)<br />

attach_charges(atoms)<br />

attach_charges(atoms, ’ACF.dat’)<br />

for atom in atoms:<br />

print ’Atom’, atom.symbol, ’Bader charge’, atom.charge<br />

7.23 Electron transport<br />

The transport module of <strong>ASE</strong> assumes the generic setup of the system in question sketched below:<br />

. . .<br />

. . .<br />

7.23. Electron transport 165

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!