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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

_ ik.R<br />

H(k) = >_ e H(R)<br />

R<br />

Warning: This method moves all Wannier functions to cell (0, 0, 0)<br />

get_hopping(R)<br />

Returns the matrix H(R)_nm=.<br />

1 _ -ik.R<br />

H(R) = = --- >_ e H(k)<br />

Nk k<br />

where R is the cell-distance (in units of the basis vectors of the small cell) and n,m are indices of the<br />

Wannier functions.<br />

get_pdos(w, energies, width)<br />

Projected density of states (PDOS).<br />

Returns the (PDOS) for Wannier function w. The calculation is performed over the energy grid specified<br />

in energies. The PDOS is produced as a sum of Gaussians centered at the points of the energy<br />

grid and with the specified width.<br />

get_radii()<br />

Calculate the spread of the Wannier functions.<br />

-- / L \ 2 2<br />

radius**2 = - > | --- | ln |Z|<br />

--d \ 2pi /<br />

initialize(file=None, initialwannier=’random’, seed=None)<br />

Re-initialize current rotation matrix.<br />

Keywords are identical to those of the constructor.<br />

localize(step=0.25, tolerance=1e-08, updaterot=True, updatecoeff=True)<br />

Optimize rotation to give maximal localization<br />

max_spread(directions=[0, 1, 2])<br />

Returns the index of the most delocalized Wannier function together with the value of the spread<br />

functional<br />

save(file)<br />

Save information on localization and rotation matrices to file.<br />

translate(w, R)<br />

Translate the w’th Wannier function<br />

The distance vector R = [n1, n2, n3], is in units of the basis vectors of the small cell.<br />

translate_all_to_cell(cell=[0, 0, 0])<br />

Translate all Wannier functions to specified cell.<br />

Move all Wannier orbitals to a specific unit cell. There exists an arbitrariness in the positions of the<br />

Wannier orbitals relative to the unit cell. This method can move all orbitals to the unit cell specified<br />

by cell. For a Γ-point calculation, this has no effect. For a k-point calculation the periodicity of<br />

the orbitals are given by the large unit cell defined by repeating the original unitcell by the number<br />

of k-points in each direction. In this case it is usefull to move the orbitals away from the boundaries<br />

of the large cell before plotting them. For a bulk calculation with, say 10x10x10 k points, one could<br />

move the orbitals to the cell [2,2,2]. In this way the pbc boundary conditions will not be noticed.<br />

translate_to_cell(w, cell)<br />

Translate the w’th Wannier function to specified cell<br />

write_cube(index, fname, repeat=None, real=True)<br />

Dump specified Wannier function to a cube file<br />

160 Chapter 7. Documentation for modules in <strong>ASE</strong>

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

Saved successfully!

Ooh no, something went wrong!