SST Lab Dokuwiki Header header picture

ユーザ用ツール

サイト用ツール


ase:jacapo:pdos

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
ase:jacapo:pdos [2019/05/24 17:05] kimiase:jacapo:pdos [2022/08/23 13:34] (現在) – 外部編集 127.0.0.1
行 55: 行 55:
 cutoff : float cutoff : float
 the cutoff radius in angstroms for the integration. the cutoff radius in angstroms for the integration.
 +</code>
 +===== Multicentered projected dos =====
 +
 +<code>
 +get_mdos(self)
 +return multicentered projected dos parameters
 +
 +get_mdos_data(self, spin=0, cutoffradius='infinite')
 +returns data from multicentered projection
 +
 +
 +returns (mdos, rotmat)
 +
 +the rotation matrices are retrieved from the text file. I am
 +not sure what you would do with these, but there was a note
 +about them in the old documentation so I put the code to
 +retrieve them here. the syntax for the return value is:
 +rotmat[atom#][label] returns the rotation matrix for the
 +center on the atom# for label. I do not not know what the
 +label refers to.
 +
 +
 +
 +
 +</code>
 +
 +<code>
 +set_mdos(self, mcenters=None, energywindow=(-15, 5), energywidth=0.2, numberenergypoints=250, cutoffradius=1.0)
 +Setup multicentered projected DOS.
 +
 +mcenters
 +a list of tuples containing (atom#,l,m,weight)
 +(0,0,0,1.0) specifies (atom 0, l=0, m=0, weight=1.0) an s orbital
 +on atom 0
 +
 +(1,1,1,1.0) specifies (atom 1, l=1, m=1, weight=1.0) a p orbital
 +with m = +1 on atom 0
 +
 +l=0 s-orbital
 +l=1 p-orbital
 +l=2 d-orbital
 +
 +m in range of ( -l ... 0 ... +l )
 +
 +The direction cosines for which the spherical harmonics are
 +set up are using the next different atom in the list
 +(cyclic) as direction pointer, so the z-direction is chosen
 +along the direction to this next atom. At the moment the
 +rotation matrices is only given in the text file, you can
 +use grep'MUL: Rmatrix' out_o2.txt to get this information.
 +
 +adapated from old MultiCenterProjectedDOS.py
 </code> </code>
ase/jacapo/pdos.1558685130.txt.gz · 最終更新: 2022/08/23 13:34 (外部編集)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki