You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/guide/analysis.rst
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,6 +125,8 @@ This spectral function is calculated by typing::
125
125
126
126
The figure above shows the DFT SrVO\ :sub:`3`\ spaghetti plot (generated using V t\ :sub:`2g`\ Wannier projectors generated within a correlated energy window of [-13.6, 13.6] eV). As before, the broadening input has been set to the temperature (i.e., 1/Beta). The left panel shows the total A(k, :math:`\omega`) whereas the right gives the Wannier A(k, :math:`\omega`), both generated from this SK.spaghettis().
127
127
128
+
For VASP inputs containing band projectors, e.g. data converted from a VASP ``KPOINTS_OPT``/``LOCPROJ_OPT`` calculation, orbital-projected spaghetti plots are available with ``proj_type='vasp'``.
129
+
128
130
129
131
Energy contours of the k-resolved Spectral function
Copy file name to clipboardExpand all lines: doc/guide/conv_vasp.rst
+31-1Lines changed: 31 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ Here, we will present a guide how the interface `can` be used to create input fo
27
27
28
28
For VASP version older than 6.5.0 there are a few limitation of the interface as it was not officially supported and only text file based. See `Remarks for VASP older than 6.5.0`_ for details.
29
29
30
-
Generation of projectors for k-point lines (option `Lines` in KPOINTS) needed for Bloch spectral function calculations is not possible at the moment.
30
+
For VASP versions that write ``LOCPROJ_OPT`` data for ``KPOINTS_OPT``, projectors for a separate k-point path or grid can be converted for Bloch spectral function calculations. This workflow uses the HDF5 output in ``vaspout.h5`` and requires VASP to be compiled with HDF5 support enabled.
31
31
32
32
VASP: generating raw projectors
33
33
===============================
@@ -188,6 +188,36 @@ in :class:`SumkDFT <dft.sumk_dft.SumkDFT>`, e.g.::
188
188
189
189
However, this should only be done after a careful study of the density matrix and the projected DOS in the localized basis. For the complete process for SrVO3 see the tutorial for the VASP interface `here <../tutorials/svo_vasp/svo_notebook.html>`_.
190
190
191
+
When VASP band projectors are available in the HDF5 archive, for example from a ``KPOINTS_OPT``/``LOCPROJ_OPT`` bands conversion, :meth:`SumkDFTTools.spaghettis <dft.sumk_dft_tools.SumkDFTTools.spaghettis>` supports VASP orbital-projected spectral functions with ``proj_type='vasp'``.
192
+
193
+
Data for post-processing - Spectral functions
194
+
=============================================
195
+
196
+
For momentum-resolved spectral functions along a separate VASP k-point path or grid, use ``KPOINTS_OPT`` together with ``LOCPROJ`` in the VASP calculation. Recent VASP versions write the corresponding optional-k-point projector output to:
197
+
198
+
* ``LOCPROJ_OPT`` and ``PROJCAR_OPT`` for text output.
199
+
* ``vaspout.h5:/results/locproj_opt`` for HDF5 output.
200
+
201
+
The HDF5 route is used by the converter. The same calculation also provides the optional-k-point eigenvalues and weights under ``vaspout.h5:/results/electron_eigenvalues_kpoints_opt``. The relevant datasets are:
The normal converter workflow will automatically detect the optional-k-point bands data into ``dft_bands_input``::
212
+
213
+
Converter.convert_dft_input()
214
+
215
+
and will internally call the bands converter with the same config::
216
+
217
+
Converter.convert_bands_input()
218
+
219
+
After this conversion, :meth:`SumkDFTTools.spaghettis <dft.sumk_dft_tools.SumkDFTTools.spaghettis>` can calculate total and VASP orbital-projected spectral functions. Use ``proj_type='vasp'`` for orbital-projected VASP spaghetti plots.
0 commit comments