mirror of
https://github.com/triqs/dft_tools
synced 2024-12-22 12:23:41 +01:00
fix docstrings and add example for automethod
This commit is contained in:
parent
b79360f6dd
commit
deec8f5a5e
@ -85,6 +85,9 @@ For plotting the density of states, you type::
|
|||||||
|
|
||||||
where a brief description of all of the inputs are given in :meth:`density_of_states <dft.sumk_dft_tools.SumkDFTTools.density_of_states>`, which a more in depth discussion of using this routine is given here.
|
where a brief description of all of the inputs are given in :meth:`density_of_states <dft.sumk_dft_tools.SumkDFTTools.density_of_states>`, which a more in depth discussion of using this routine is given here.
|
||||||
|
|
||||||
|
.. automethod:: triqs_dft_tools.sumk_dft_tools.SumkDFTTools.density_of_states
|
||||||
|
:noindex:
|
||||||
|
|
||||||
Input parameter breakdown:
|
Input parameter breakdown:
|
||||||
* `mu` (Optional, default is None): The `mu` input specifies the chemical potential to be used in the calculation. By default, this is automatically set to the chemical potential within the SK object.
|
* `mu` (Optional, default is None): The `mu` input specifies the chemical potential to be used in the calculation. By default, this is automatically set to the chemical potential within the SK object.
|
||||||
* `broadening` (Optional, default 0.01 eV). Traditionally, a small imaginary part is included for a non-interacting spectral function to avoid any numerical artifacts. The user can specify this imaginary part with the `broadening` input. The default value of `0.01 eV` if there is no `broadening` or `mesh` input.
|
* `broadening` (Optional, default 0.01 eV). Traditionally, a small imaginary part is included for a non-interacting spectral function to avoid any numerical artifacts. The user can specify this imaginary part with the `broadening` input. The default value of `0.01 eV` if there is no `broadening` or `mesh` input.
|
||||||
|
@ -85,6 +85,7 @@ class SumkDFTTools(SumkDFT):
|
|||||||
density matrices generated by occupations().
|
density matrices generated by occupations().
|
||||||
save_to_file : boolean, optional
|
save_to_file : boolean, optional
|
||||||
If True, text files with the calculated data will be created.
|
If True, text files with the calculated data will be created.
|
||||||
|
|
||||||
Returns
|
Returns
|
||||||
-------
|
-------
|
||||||
DOS : Dict of numpy arrays
|
DOS : Dict of numpy arrays
|
||||||
@ -280,7 +281,8 @@ class SumkDFTTools(SumkDFT):
|
|||||||
'wann' - Wannier DOS calculated from the Wannier projectors
|
'wann' - Wannier DOS calculated from the Wannier projectors
|
||||||
'vasp' - Vasp orbital-projected DOS only from Vasp inputs
|
'vasp' - Vasp orbital-projected DOS only from Vasp inputs
|
||||||
'wien2k' - Wien2k orbital-projected DOS from the wien2k theta projectors
|
'wien2k' - Wien2k orbital-projected DOS from the wien2k theta projectors
|
||||||
'elk' - Elk orbital-projected DOS only from Elk inputs
|
'elk' - Elk orbital-projected DOS only from Elk inputs
|
||||||
|
|
||||||
Returns
|
Returns
|
||||||
-------
|
-------
|
||||||
G_proj : Gf
|
G_proj : Gf
|
||||||
@ -621,6 +623,7 @@ class SumkDFTTools(SumkDFT):
|
|||||||
'wien2k' - Wien2k orbital-projected A(k,w) from the wien2k theta projectors
|
'wien2k' - Wien2k orbital-projected A(k,w) from the wien2k theta projectors
|
||||||
save_to_file : boolean, optional
|
save_to_file : boolean, optional
|
||||||
If True, text files with the calculated data will be created.
|
If True, text files with the calculated data will be created.
|
||||||
|
|
||||||
Returns
|
Returns
|
||||||
-------
|
-------
|
||||||
Akw : Dict of numpy arrays
|
Akw : Dict of numpy arrays
|
||||||
@ -759,6 +762,7 @@ class SumkDFTTools(SumkDFT):
|
|||||||
Output the orbital-projected A(k,w) type from the following:
|
Output the orbital-projected A(k,w) type from the following:
|
||||||
'wann' - Wannier A(k,w) calculated from the Wannier projectors
|
'wann' - Wannier A(k,w) calculated from the Wannier projectors
|
||||||
'wien2k' - Wien2k orbital-projected A(k,w) from the wien2k theta projectors
|
'wien2k' - Wien2k orbital-projected A(k,w) from the wien2k theta projectors
|
||||||
|
|
||||||
Returns
|
Returns
|
||||||
-------
|
-------
|
||||||
Akw : Dict of numpy arrays
|
Akw : Dict of numpy arrays
|
||||||
|
Loading…
Reference in New Issue
Block a user