.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "gallery/plot_qps.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note Click :ref:`here ` to download the full example code or to run this example in your browser via Binder .. rst-class:: sphx-glr-example-title .. _sphx_glr_gallery_plot_qps.py: SIGRES file (GW) ================ This example shows how to visualize the QP results stored in the SIGRES produced by the GW code (sigma run) .. GENERATED FROM PYTHON SOURCE LINES 9-28 .. rst-class:: sphx-glr-horizontal * .. image:: /gallery/images/sphx_glr_plot_qps_001.png :alt: QP data vs KS energy :class: sphx-glr-multi-img * .. image:: /gallery/images/sphx_glr_plot_qps_002.png :alt: QP direct gaps :class: sphx-glr-multi-img * .. image:: /gallery/images/sphx_glr_plot_qps_003.png :alt: QP - KS direct gap :class: sphx-glr-multi-img * .. image:: /gallery/images/sphx_glr_plot_qps_004.png :alt: plot qps :class: sphx-glr-multi-img * .. image:: /gallery/images/sphx_glr_plot_qps_005.png :alt: plot qps :class: sphx-glr-multi-img .. code-block:: default import abipy.data as abidata from abipy.abilab import abiopen sigres = abiopen(abidata.ref_file("tgw1_9o_DS4_SIGRES.nc")) # Printout of the QPState results #sigres.print_qps() sigres.plot_qps_vs_e0(tight_layout=True, title="QP data vs KS energy") sigres.plot_qpgaps(title="QP direct gaps") sigres.plot_qpgaps(plot_qpmks=True, title="QP - KS direct gap") sigres.plot_qpbands_ibz() sigres.plot_ksbands_with_qpmarkers(fact=1000) sigres.close() .. rst-class:: sphx-glr-timing **Total running time of the script:** ( 0 minutes 1.180 seconds) .. _sphx_glr_download_gallery_plot_qps.py: .. only :: html .. container:: sphx-glr-footer :class: sphx-glr-footer-example .. container:: binder-badge .. image:: images/binder_badge_logo.svg :target: https://mybinder.org/v2/gh/abinit/abipy/gh-pages?filepath=notebooks/gallery/plot_qps.ipynb :alt: Launch binder :width: 150 px .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_qps.py ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_qps.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_