:orphan: .. _sphx_glr_gallery: .. _plot-gallery: AbiPy Gallery ============= There are a variety of ways to use the AbiPy post-processing tools, and some of them are illustrated in the examples in this directory. These examples represent an excellent starting point if you need to implement a customized script to solve your particular problem. Keep in mind, however, that simple visualization tasks can be easily automated by just issuing in the terminal:: abiopen.py FILE --expose to generate a predefined list of **matplotlib** plots. To activate the plotly version use: .. code-block:: shell abiopen.py FILE --plotly although at the time of writing not all the files support this protocol. Note also that one can generate jupyter-lab notebooks directly from the command line with abiopen.py_ and the command:: abiopen.py FILE -nb Add `--classic-notebook` if you prefer classic jupyter notebooks. Finally, use one of the options of the abiview.py_ script to plot the results automatically. .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_phonons_thumb.png :alt: AlAs Phonon bands :ref:`sphx_glr_gallery_plot_phonons.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_phonons .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_wannier90_abiwan_thumb.png :alt: Band structure interpolation with Wannier functions :ref:`sphx_glr_gallery_plot_wannier90_abiwan.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_wannier90_abiwan .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_ebands_thumb.png :alt: Band structure plot :ref:`sphx_glr_gallery_plot_ebands.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_ebands .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_ebands_edos_thumb.png :alt: Bands + DOS :ref:`sphx_glr_gallery_plot_ebands_edos.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_ebands_edos .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_mdf_thumb.png :alt: Bethe-Salpeter :ref:`sphx_glr_gallery_plot_mdf.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_mdf .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_bz_thumb.png :alt: Brillouin zone :ref:`sphx_glr_gallery_plot_bz.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_bz .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_dfpt_cycle_thumb.png :alt: DFPT SCF cycle :ref:`sphx_glr_gallery_plot_dfpt_cycle.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_dfpt_cycle .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_phonons_msqd_thumb.png :alt: Debye-Waller and generalized phonon DOS :ref:`sphx_glr_gallery_plot_phonons_msqd.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_phonons_msqd .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_den_thumb.png :alt: Density :ref:`sphx_glr_gallery_plot_den.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_den .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_scr_thumb.png :alt: Dielectric function with LFE :ref:`sphx_glr_gallery_plot_scr.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_scr .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_edos_thumb.png :alt: Electron DOS :ref:`sphx_glr_gallery_plot_edos.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_edos .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_ebands_grid_thumb.png :alt: ElectronBandsPlotter :ref:`sphx_glr_gallery_plot_ebands_grid.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_ebands_grid .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_eph_from_mp_thumb.png :alt: Electrons and Phonons from the materials project website :ref:`sphx_glr_gallery_plot_eph_from_mp.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_eph_from_mp .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_a2f_thumb.png :alt: Eliashberg function :ref:`sphx_glr_gallery_plot_a2f.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_a2f .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_funcs_thumb.png :alt: Function1D object :ref:`sphx_glr_gallery_plot_funcs.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_funcs .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_gw_spectral_functions_thumb.png :alt: G0W0 spectral function :ref:`sphx_glr_gallery_plot_gw_spectral_functions.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_gw_spectral_functions .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_qpconvergence_thumb.png :alt: GW Convergence :ref:`sphx_glr_gallery_plot_qpconvergence.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_qpconvergence .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_qpbands_with_interpolation_thumb.png :alt: GW corrections :ref:`sphx_glr_gallery_plot_qpbands_with_interpolation.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_qpbands_with_interpolation .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_qpbands_with_scissor_thumb.png :alt: GW with scissors operator :ref:`sphx_glr_gallery_plot_qpbands_with_scissor.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_qpbands_with_scissor .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_gscycle_thumb.png :alt: Ground-state SCF cycle :ref:`sphx_glr_gallery_plot_gscycle.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_gscycle .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_gruneisen_thumb.png :alt: Gruneisen parameters :ref:`sphx_glr_gallery_plot_gruneisen.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_gruneisen .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_phonons_infrared_thumb.png :alt: Infrared spectrum of AlAs :ref:`sphx_glr_gallery_plot_phonons_infrared.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_phonons_infrared .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_ifcs_thumb.png :alt: Interatomic Force Constants :ref:`sphx_glr_gallery_plot_ifcs.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_ifcs .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_ejdos_thumb.png :alt: Joint Density of States :ref:`sphx_glr_gallery_plot_ejdos.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_ejdos .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_kpath_from_ibz_thumb.png :alt: K-path from IBZ :ref:`sphx_glr_gallery_plot_kpath_from_ibz.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_kpath_from_ibz .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_efatbands_lm_thumb.png :alt: LM-fatbands :ref:`sphx_glr_gallery_plot_efatbands_lm.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_efatbands_lm .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_lobster_files_thumb.png :alt: Lobster COHP/COP/DOS :ref:`sphx_glr_gallery_plot_lobster_files.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_lobster_files .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_lobster_cohp_thumb.png :alt: Lobster COHPCAR :ref:`sphx_glr_gallery_plot_lobster_cohp.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_lobster_cohp .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_fermisurface_thumb.png :alt: MgB2 Fermi surface :ref:`sphx_glr_gallery_plot_fermisurface.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_fermisurface .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_efatbands_thumb.png :alt: MgB2 fatbands :ref:`sphx_glr_gallery_plot_efatbands.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_efatbands .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_multiple_mdf_thumb.png :alt: Multiple Bethe-Salpeter calculations :ref:`sphx_glr_gallery_plot_multiple_mdf.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_multiple_mdf .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_multiple_hist_thumb.png :alt: Multiple Structural relaxations :ref:`sphx_glr_gallery_plot_multiple_hist.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_multiple_hist .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_edos_vs_broad_thumb.png :alt: Multiple e-DOSes :ref:`sphx_glr_gallery_plot_edos_vs_broad.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_edos_vs_broad .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_phbands_grid_thumb.png :alt: Multiple phonon bands :ref:`sphx_glr_gallery_plot_phbands_grid.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_phbands_grid .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_phbands_nkpt_tsmear_thumb.png :alt: Multiple phonon bands with DDB robot :ref:`sphx_glr_gallery_plot_phbands_nkpt_tsmear.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_phbands_nkpt_tsmear .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_optic_thumb.png :alt: Optic results :ref:`sphx_glr_gallery_plot_optic.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_optic .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plotly_phbands_and_dos_thumb.png :alt: Phonon Band structures (Plotly version) :ref:`sphx_glr_gallery_plotly_phbands_and_dos.py` .. raw:: html
.. toctree:: :hidden: /gallery/plotly_phbands_and_dos .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_phbands_and_dos_thumb.png :alt: Phonon band structures with LO-TO :ref:`sphx_glr_gallery_plot_phbands_and_dos.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_phbands_and_dos .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_phonons_lo_to_thumb.png :alt: Phonon bands with LO-TO from PHBST.nc :ref:`sphx_glr_gallery_plot_phonons_lo_to.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_phonons_lo_to .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_ddb_asr_thumb.png :alt: Phonon bands with/without the ASR :ref:`sphx_glr_gallery_plot_ddb_asr.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_ddb_asr .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_phonon_fatbands_thumb.png :alt: Phonon fatbands :ref:`sphx_glr_gallery_plot_phonon_fatbands.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_phonon_fatbands .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_potentials_thumb.png :alt: Potentials :ref:`sphx_glr_gallery_plot_potentials.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_potentials .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_phonon_pjdos_thumb.png :alt: Projected phonon DOS :ref:`sphx_glr_gallery_plot_phonon_pjdos.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_phonon_pjdos .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_qha_thumb.png :alt: Quasi-harmonic approximation :ref:`sphx_glr_gallery_plot_qha.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_qha .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_qha_vs_qmesh_thumb.png :alt: Quasi-harmonic approximation (convergence wrt Q-mesh) :ref:`sphx_glr_gallery_plot_qha_vs_qmesh.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_qha_vs_qmesh .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_scr_matrix_thumb.png :alt: SCR matrix :ref:`sphx_glr_gallery_plot_scr_matrix.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_scr_matrix .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_qps_thumb.png :alt: SIGRES file (GW) :ref:`sphx_glr_gallery_plot_qps.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_qps .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_ebands_boxplot_thumb.png :alt: Seaborn boxplot :ref:`sphx_glr_gallery_plot_ebands_boxplot.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_ebands_boxplot .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_speed_of_sound_thumb.png :alt: Speed of Sound :ref:`sphx_glr_gallery_plot_speed_of_sound.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_speed_of_sound .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_ebands_spin_thumb.png :alt: Spin-polarized e-bands :ref:`sphx_glr_gallery_plot_ebands_spin.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_ebands_spin .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_hist_thumb.png :alt: Structural relaxation :ref:`sphx_glr_gallery_plot_hist.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_hist .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_phthermo_thumb.png :alt: Thermodinamic properties :ref:`sphx_glr_gallery_plot_phthermo.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_phthermo .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_fold2bloch_thumb.png :alt: Unfolding with fold2bloch :ref:`sphx_glr_gallery_plot_fold2bloch.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_fold2bloch .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_structure_thumb.png :alt: Unit cell :ref:`sphx_glr_gallery_plot_structure.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_structure .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_wannier90_wout_thumb.png :alt: Wannier90 wout file :ref:`sphx_glr_gallery_plot_wannier90_wout.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_wannier90_wout .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_wfk_thumb.png :alt: Wavefunction file :ref:`sphx_glr_gallery_plot_wfk.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_wfk .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_xrd_thumb.png :alt: X-ray diffraction pattern :ref:`sphx_glr_gallery_plot_xrd.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_xrd .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_ebands_scatter3d_thumb.png :alt: e-bands scatter3d :ref:`sphx_glr_gallery_plot_ebands_scatter3d.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_ebands_scatter3d .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_scqpgw_thumb.png :alt: self-consistent GW :ref:`sphx_glr_gallery_plot_scqpgw.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_scqpgw .. raw:: html
.. only:: html .. figure:: /gallery/images/thumb/sphx_glr_plot_efatbands_spin_thumb.png :alt: spin-polarized fatbands :ref:`sphx_glr_gallery_plot_efatbands_spin.py` .. raw:: html
.. toctree:: :hidden: /gallery/plot_efatbands_spin .. raw:: html
.. only :: html .. container:: sphx-glr-footer :class: sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: gallery_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: gallery_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_