https://github.com/romerogroup/pyprocar
Raw File
Tip revision: e3db646e7a897cf9da4b2762ec3c03de85654bc5 authored by Pedram Tavadze on 18 August 2023, 12:49:54 UTC
Merge branch 'dev' of https://github.com/romerogroup/pyprocar into dev
Tip revision: e3db646
index.html

<!DOCTYPE html>


<html lang="en" >

  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />

    <title>Examples &#8212; PyProcar 6.1.3 documentation</title>
  
  
  
  <script data-cfasync="false">
    document.documentElement.dataset.mode = localStorage.getItem("mode") || "";
    document.documentElement.dataset.theme = localStorage.getItem("theme") || "light";
  </script>
  
  <!-- Loaded before other Sphinx assets -->
  <link href="../_static/styles/theme.css?digest=e353d410970836974a52" rel="stylesheet" />
<link href="../_static/styles/bootstrap.css?digest=e353d410970836974a52" rel="stylesheet" />
<link href="../_static/styles/pydata-sphinx-theme.css?digest=e353d410970836974a52" rel="stylesheet" />

  
  <link href="../_static/vendor/fontawesome/6.1.2/css/all.min.css?digest=e353d410970836974a52" rel="stylesheet" />
  <link rel="preload" as="font" type="font/woff2" crossorigin href="../_static/vendor/fontawesome/6.1.2/webfonts/fa-solid-900.woff2" />
<link rel="preload" as="font" type="font/woff2" crossorigin href="../_static/vendor/fontawesome/6.1.2/webfonts/fa-brands-400.woff2" />
<link rel="preload" as="font" type="font/woff2" crossorigin href="../_static/vendor/fontawesome/6.1.2/webfonts/fa-regular-400.woff2" />

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
    <link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" />
    <link rel="stylesheet" type="text/css" href="../_static/sg_gallery.css?v=61a4c737" />
    <link rel="stylesheet" type="text/css" href="../_static/sg_gallery-binder.css?v=f4aeca0c" />
    <link rel="stylesheet" type="text/css" href="../_static/sg_gallery-dataframe.css?v=e5fbc548" />
    <link rel="stylesheet" type="text/css" href="../_static/sg_gallery-rendered-html.css?v=1277b6f3" />
    <link rel="stylesheet" type="text/css" href="../_static/design-style.1e8bd061cd6da7fc9cf755528e8ffc24.min.css?v=0a3b3ea7" />
  
  <!-- Pre-loaded scripts that we'll load fully later -->
  <link rel="preload" as="script" href="../_static/scripts/bootstrap.js?digest=e353d410970836974a52" />
<link rel="preload" as="script" href="../_static/scripts/pydata-sphinx-theme.js?digest=e353d410970836974a52" />

    <script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js?v=0e538e79"></script>
    <script src="../_static/doctools.js?v=888ff710"></script>
    <script src="../_static/sphinx_highlight.js?v=4825356b"></script>
    <script src="../_static/clipboard.min.js?v=a7894cd8"></script>
    <script src="../_static/copybutton.js?v=30646c52"></script>
    <script src="../_static/design-tabs.js?v=36754332"></script>
    <script>DOCUMENTATION_OPTIONS.pagename = 'examples/index';</script>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="Band Structure" href="00-band_structure/index.html" />
    <link rel="prev" title="Lobster Perperation" href="../dftprep/lobster.html" />
  <meta name="viewport" content="width=device-width, initial-scale=1"/>
  <meta name="docsearch:language" content="en"/>
  </head>
  
  
  <body data-bs-spy="scroll" data-bs-target=".bd-toc-nav" data-offset="180" data-bs-root-margin="0px 0px -60%" data-default-mode="">

  
  
  <a class="skip-link" href="#main-content">Skip to main content</a>
  
  <input type="checkbox"
          class="sidebar-toggle"
          name="__primary"
          id="__primary"/>
  <label class="overlay overlay-primary" for="__primary"></label>
  
  <input type="checkbox"
          class="sidebar-toggle"
          name="__secondary"
          id="__secondary"/>
  <label class="overlay overlay-secondary" for="__secondary"></label>
  
  <div class="search-button__wrapper">
    <div class="search-button__overlay"></div>
    <div class="search-button__search-container">
<form class="bd-search d-flex align-items-center"
      action="../search.html"
      method="get">
  <i class="fa-solid fa-magnifying-glass"></i>
  <input type="search"
         class="form-control"
         name="q"
         id="search-input"
         placeholder="Search the docs ..."
         aria-label="Search the docs ..."
         autocomplete="off"
         autocorrect="off"
         autocapitalize="off"
         spellcheck="false"/>
  <span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd>K</kbd></span>
</form></div>
  </div>
  
    <nav class="bd-header navbar navbar-expand-lg bd-navbar">
<div class="bd-header__inner bd-page-width">
  <label class="sidebar-toggle primary-toggle" for="__primary">
    <span class="fa-solid fa-bars"></span>
  </label>
  
  <div class="navbar-header-items__start">
    
      <div class="navbar-item">
  

<a class="navbar-brand logo" href="../index.html">
  
  
  
  
  
    <p class="title logo__title">PyProcar 6.1.3 documentation</p>
  
</a></div>
    
  </div>
  
  
  <div class="col-lg-9 navbar-header-items">
    
    <div class="me-auto navbar-header-items__center">
      
        <div class="navbar-item"><nav class="navbar-nav">
  <p class="sidebar-header-items__title"
     role="heading"
     aria-level="1"
     aria-label="Site Navigation">
    Site Navigation
  </p>
  <ul class="bd-navbar-elements navbar-nav">
    
                    <li class="nav-item">
                      <a class="nav-link nav-internal" href="../getting-started/index.html">
                        Getting started
                      </a>
                    </li>
                

                    <li class="nav-item">
                      <a class="nav-link nav-internal" href="../user-guide/index.html">
                        User Guide
                      </a>
                    </li>
                

                    <li class="nav-item">
                      <a class="nav-link nav-internal" href="../dftprep/index.html">
                        DFT Prep
                      </a>
                    </li>
                

                    <li class="nav-item current active">
                      <a class="nav-link nav-internal" href="#">
                        Examples
                      </a>
                    </li>
                

                    <li class="nav-item">
                      <a class="nav-link nav-internal" href="../api/index.html">
                        API Reference
                      </a>
                    </li>
                
  </ul>
</nav></div>
      
    </div>
    
    
    <div class="navbar-header-items__end">
      
        <div class="navbar-item navbar-persistent--container">
          
<script>
document.write(`
  <button class="btn btn-sm navbar-btn search-button search-button__button" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
    <i class="fa-solid fa-magnifying-glass"></i>
  </button>
`);
</script>
        </div>
      
      
        <div class="navbar-item">
<script>
document.write(`
  <button class="theme-switch-button btn btn-sm btn-outline-primary navbar-btn rounded-circle" title="light/dark" aria-label="light/dark" data-bs-placement="bottom" data-bs-toggle="tooltip">
    <span class="theme-switch" data-mode="light"><i class="fa-solid fa-sun"></i></span>
    <span class="theme-switch" data-mode="dark"><i class="fa-solid fa-moon"></i></span>
    <span class="theme-switch" data-mode="auto"><i class="fa-solid fa-circle-half-stroke"></i></span>
  </button>
`);
</script></div>
      
        <div class="navbar-item"><ul class="navbar-icon-links navbar-nav"
    aria-label="Icon Links">
        <li class="nav-item">
          
          
          
          
          
          
          
          
          <a href="https://github.com/romerogroup/pyprocar" title="GitHub" class="nav-link" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><span><i class="fa-brands fa-square-github"></i></span>
            <label class="sr-only">GitHub</label></a>
        </li>
        <li class="nav-item">
          
          
          
          
          
          
          
          
          <a href="https://github.com/romerogroup/pyprocar/blob/main/CONTRIBUTING.rst" title="Contributing" class="nav-link" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><span><i class="fa fa-gavel fa-fw"></i></span>
            <label class="sr-only">Contributing</label></a>
        </li>
        <li class="nav-item">
          
          
          
          
          
          
          
          
          <a href="https://doi.org/10.1016/j.cpc.2019.107080" title="The Paper" class="nav-link" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><span><i class="fa fa-file-text fa-fw"></i></span>
            <label class="sr-only">The Paper</label></a>
        </li>
</ul></div>
      
    </div>
    
  </div>
  
  
    <div class="navbar-persistent--mobile">
<script>
document.write(`
  <button class="btn btn-sm navbar-btn search-button search-button__button" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip">
    <i class="fa-solid fa-magnifying-glass"></i>
  </button>
`);
</script>
    </div>
  

  
    <label class="sidebar-toggle secondary-toggle" for="__secondary">
      <span class="fa-solid fa-outdent"></span>
    </label>
  
</div>

    </nav>
  
  <div class="bd-container">
    <div class="bd-container__inner bd-page-width">
      
      <div class="bd-sidebar-primary bd-sidebar">
        

  
  <div class="sidebar-header-items sidebar-primary__section">
    
    
      <div class="sidebar-header-items__center">
        
          <div class="navbar-item"><nav class="navbar-nav">
  <p class="sidebar-header-items__title"
     role="heading"
     aria-level="1"
     aria-label="Site Navigation">
    Site Navigation
  </p>
  <ul class="bd-navbar-elements navbar-nav">
    
                    <li class="nav-item">
                      <a class="nav-link nav-internal" href="../getting-started/index.html">
                        Getting started
                      </a>
                    </li>
                

                    <li class="nav-item">
                      <a class="nav-link nav-internal" href="../user-guide/index.html">
                        User Guide
                      </a>
                    </li>
                

                    <li class="nav-item">
                      <a class="nav-link nav-internal" href="../dftprep/index.html">
                        DFT Prep
                      </a>
                    </li>
                

                    <li class="nav-item current active">
                      <a class="nav-link nav-internal" href="#">
                        Examples
                      </a>
                    </li>
                

                    <li class="nav-item">
                      <a class="nav-link nav-internal" href="../api/index.html">
                        API Reference
                      </a>
                    </li>
                
  </ul>
</nav></div>
        
      </div>
    
    
    
      <div class="sidebar-header-items__end">
        
          <div class="navbar-item">
<script>
document.write(`
  <button class="theme-switch-button btn btn-sm btn-outline-primary navbar-btn rounded-circle" title="light/dark" aria-label="light/dark" data-bs-placement="bottom" data-bs-toggle="tooltip">
    <span class="theme-switch" data-mode="light"><i class="fa-solid fa-sun"></i></span>
    <span class="theme-switch" data-mode="dark"><i class="fa-solid fa-moon"></i></span>
    <span class="theme-switch" data-mode="auto"><i class="fa-solid fa-circle-half-stroke"></i></span>
  </button>
`);
</script></div>
        
          <div class="navbar-item"><ul class="navbar-icon-links navbar-nav"
    aria-label="Icon Links">
        <li class="nav-item">
          
          
          
          
          
          
          
          
          <a href="https://github.com/romerogroup/pyprocar" title="GitHub" class="nav-link" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><span><i class="fa-brands fa-square-github"></i></span>
            <label class="sr-only">GitHub</label></a>
        </li>
        <li class="nav-item">
          
          
          
          
          
          
          
          
          <a href="https://github.com/romerogroup/pyprocar/blob/main/CONTRIBUTING.rst" title="Contributing" class="nav-link" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><span><i class="fa fa-gavel fa-fw"></i></span>
            <label class="sr-only">Contributing</label></a>
        </li>
        <li class="nav-item">
          
          
          
          
          
          
          
          
          <a href="https://doi.org/10.1016/j.cpc.2019.107080" title="The Paper" class="nav-link" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><span><i class="fa fa-file-text fa-fw"></i></span>
            <label class="sr-only">The Paper</label></a>
        </li>
</ul></div>
        
      </div>
    
  </div>
  
    <div class="sidebar-primary-items__start sidebar-primary__section">
        <div class="sidebar-primary-item"><nav class="bd-docs-nav bd-links"
     aria-label="Section Navigation">
  <p class="bd-links__title" role="heading" aria-level="1">Section Navigation</p>
  <div class="bd-toc-item navbar-nav"><ul class="nav bd-sidenav">
<li class="toctree-l1 has-children"><a class="reference internal" href="00-band_structure/index.html">Band Structure</a><input class="toctree-checkbox" id="toctree-checkbox-1" name="toctree-checkbox-1" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-1"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l2"><a class="reference internal" href="00-band_structure/plot_noncolinear_vasp.html">Plotting non colinear band structures in VASP</a></li>
<li class="toctree-l2"><a class="reference internal" href="00-band_structure/plot_compare_bands.html">Comparing band structures</a></li>
<li class="toctree-l2"><a class="reference internal" href="00-band_structure/plot_noncolinear_qe.html">Plotting non colinear band structures in Quantum Espresso</a></li>
<li class="toctree-l2"><a class="reference internal" href="00-band_structure/plot_atomic_levels.html">Plotting Atomic Levels</a></li>
<li class="toctree-l2"><a class="reference internal" href="00-band_structure/plot_spin_polarized.html">Plotting spin polarized band structures</a></li>
<li class="toctree-l2"><a class="reference internal" href="00-band_structure/plot_colinear.html">Plotting band structure</a></li>
<li class="toctree-l2"><a class="reference internal" href="00-band_structure/plot_bandsplot_configurations.html">Plotting with Configurations in <cite>pyprocar</cite></a></li>
</ul>
</li>
<li class="toctree-l1 has-children"><a class="reference internal" href="01-dos/index.html">Density of States</a><input class="toctree-checkbox" id="toctree-checkbox-2" name="toctree-checkbox-2" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-2"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l2"><a class="reference internal" href="01-dos/plot_noncolinear_dos_vasp.html">Plotting non colinear dos in VASP</a></li>
<li class="toctree-l2"><a class="reference internal" href="01-dos/plot_noncolinear_dos_qe.html">Plotting non colinear dos in Quantum Espresso</a></li>
<li class="toctree-l2"><a class="reference internal" href="01-dos/plot_colinear_dos.html">Plotting density of states</a></li>
<li class="toctree-l2"><a class="reference internal" href="01-dos/plot_spin_polarized_dos.html">Plotting spin-polarized density of states</a></li>
<li class="toctree-l2"><a class="reference internal" href="01-dos/plot_dosplot_configurations.html">Plotting with Configurations in <cite>pyprocar</cite></a></li>
</ul>
</li>
<li class="toctree-l1 has-children"><a class="reference internal" href="02-bands_dos/index.html">Bands and Dos plot</a><input class="toctree-checkbox" id="toctree-checkbox-3" name="toctree-checkbox-3" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-3"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l2"><a class="reference internal" href="02-bands_dos/plot_bandsdosplot.html">Plotting bandsdosplot</a></li>
<li class="toctree-l2"><a class="reference internal" href="02-bands_dos/plot_bandsdosplot_configurations.html">Plotting bandsdosplot</a></li>
</ul>
</li>
<li class="toctree-l1 has-children"><a class="reference internal" href="03-fermi2d/index.html">Fermi 2D</a><input class="toctree-checkbox" id="toctree-checkbox-4" name="toctree-checkbox-4" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-4"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l2"><a class="reference internal" href="03-fermi2d/plot_fermi2d_spin_texture.html">Plotting fermi2d noncolinear</a></li>
<li class="toctree-l2"><a class="reference internal" href="03-fermi2d/plot_fermi2d.html">Plotting fermi2d</a></li>
<li class="toctree-l2"><a class="reference internal" href="03-fermi2d/plot_fermi2d_configurations.html">Plotting with Configurations in <cite>pyprocar</cite></a></li>
<li class="toctree-l2"><a class="reference internal" href="03-fermi2d/plot_rashba_spin_spliting.html">Plotting rashba spin splitting</a></li>
</ul>
</li>
<li class="toctree-l1 has-children"><a class="reference internal" href="04-fermi3d/index.html">Fermi 3D</a><input class="toctree-checkbox" id="toctree-checkbox-5" name="toctree-checkbox-5" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-5"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l2"><a class="reference internal" href="04-fermi3d/plot_fermi3d_spin_texture.html">Plotting fermi3d spin_texture</a></li>
<li class="toctree-l2"><a class="reference internal" href="04-fermi3d/plot_fermi3d_plain.html">Plotting fermi3d plain</a></li>
<li class="toctree-l2"><a class="reference internal" href="04-fermi3d/plot_fermi3d_isoslider.html">Plotting fermi3d isoslider</a></li>
<li class="toctree-l2"><a class="reference internal" href="04-fermi3d/plot_fermi3d_isovalue_gif.html">Plotting fermi3d isovalue_gif</a></li>
<li class="toctree-l2"><a class="reference internal" href="04-fermi3d/plot_fermi3d_spin-polarized.html">Plotting fermi3d spin-polarized</a></li>
<li class="toctree-l2"><a class="reference internal" href="04-fermi3d/plot_de_hass_van_alphen.html">Showing how to get van alphen fequencies from the fermi surface</a></li>
<li class="toctree-l2"><a class="reference internal" href="04-fermi3d/plot_fermi3d_configurations.html">Plotting with Configurations in <cite>pyprocar</cite></a></li>
<li class="toctree-l2"><a class="reference internal" href="04-fermi3d/plot_fermi3d_cross_section.html">Plotting fermi3d cross_section</a></li>
</ul>
</li>
<li class="toctree-l1 has-children"><a class="reference internal" href="05-other/index.html">Other</a><input class="toctree-checkbox" id="toctree-checkbox-6" name="toctree-checkbox-6" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-6"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l2"><a class="reference internal" href="05-other/plot_bandgap.html">Example of finding the bandgap</a></li>
<li class="toctree-l2"><a class="reference internal" href="05-other/plot_2dkmesh_generation.html">Example of kmesh_generator</a></li>
<li class="toctree-l2"><a class="reference internal" href="05-other/plot_kpath_generation.html">Example of kpath_generator</a></li>
<li class="toctree-l2"><a class="reference internal" href="05-other/plot_ebs.html">Example of finding the bandgap</a></li>
</ul>
</li>
<li class="toctree-l1 has-children"><a class="reference internal" href="06-PyPoscar/index.html">PyPoscar</a><input class="toctree-checkbox" id="toctree-checkbox-7" name="toctree-checkbox-7" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-7"><i class="fa-solid fa-chevron-down"></i></label><ul>
<li class="toctree-l2"><a class="reference internal" href="06-PyPoscar/plot_clusters_pyposcar.html">Visualizing Clusters in Bi2Se3 Slab</a></li>
<li class="toctree-l2"><a class="reference internal" href="06-PyPoscar/plot_finding_defects_pyposcar.html">Finding defects in a POSCAR file</a></li>
<li class="toctree-l2"><a class="reference internal" href="06-PyPoscar/plot_rdf_cutoff_pyposcar.html">Analyzing Radial Distribution Functions (RDF)</a></li>
<li class="toctree-l2"><a class="reference internal" href="06-PyPoscar/plot_subsitution_pyposcar.html">Substituting Atoms in a POSCAR File</a></li>
<li class="toctree-l2"><a class="reference internal" href="06-PyPoscar/plot_utils_pyposcar.html">Modifying a POSCAR File: Scaling, Supercells, and Defects</a></li>
</ul>
</li>
</ul>
</div>
</nav></div>
    </div>
  
  
  <div class="sidebar-primary-items__end sidebar-primary__section">
  </div>
  
  <div id="rtd-footer-container"></div>


      </div>
      
      <main id="main-content" class="bd-main">
        
        
          <div class="bd-content">
            <div class="bd-article-container">
              
              <div class="bd-header-article">
<div class="header-article-items header-article__inner">
  
    <div class="header-article-items__start">
      
        <div class="header-article-item">



<nav aria-label="Breadcrumbs">
  <ul class="bd-breadcrumbs" role="navigation" aria-label="Breadcrumb">
    
    <li class="breadcrumb-item breadcrumb-home">
      <a href="../index.html" class="nav-link" aria-label="Home">
        <i class="fa-solid fa-home"></i>
      </a>
    </li>
    <li class="breadcrumb-item active" aria-current="page">Examples</li>
  </ul>
</nav>
</div>
      
    </div>
  
  
</div>
</div>
              
              
              
                
<div id="searchbox"></div>
                <article class="bd-article" role="main">
                  
  <section id="examples">
<span id="ref-examples"></span><h1>Examples<a class="headerlink" href="#examples" title="Permalink to this heading">#</a></h1>
<p>Here is a gallery of several examples demonstrating what PyProcar can
do!</p>
<div class="sphx-glr-thumbnails"></div><section id="band-structure">
<h2>Band Structure<a class="headerlink" href="#band-structure" title="Permalink to this heading">#</a></h2>
<p>These examples demonstrate the band structure plotting capabilities.</p>
<div class="sphx-glr-thumbnails"><div class="sphx-glr-thumbcontainer" tooltip="Plotting non colinear band structures in VASP."><img alt="" src="../_images/sphx_glr_plot_noncolinear_vasp_thumb.png" />
<p><a class="reference internal" href="00-band_structure/plot_noncolinear_vasp.html#sphx-glr-examples-00-band-structure-plot-noncolinear-vasp-py"><span class="std std-ref">Plotting non colinear band structures in VASP</span></a></p>
  <div class="sphx-glr-thumbnail-title">Plotting non colinear band structures in VASP</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="Comparing band structures example."><img alt="" src="../_images/sphx_glr_plot_compare_bands_thumb.png" />
<p><a class="reference internal" href="00-band_structure/plot_compare_bands.html#sphx-glr-examples-00-band-structure-plot-compare-bands-py"><span class="std std-ref">Comparing band structures</span></a></p>
  <div class="sphx-glr-thumbnail-title">Comparing band structures</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="Plotting non colinear band structures in Quantum Espresso."><img alt="" src="../_images/sphx_glr_plot_noncolinear_qe_thumb.png" />
<p><a class="reference internal" href="00-band_structure/plot_noncolinear_qe.html#sphx-glr-examples-00-band-structure-plot-noncolinear-qe-py"><span class="std std-ref">Plotting non colinear band structures in Quantum Espresso</span></a></p>
  <div class="sphx-glr-thumbnail-title">Plotting non colinear band structures in Quantum Espresso</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="This example illustrates how to plot atomic energy levels for the compound hBN-CNCN at the GAMM..."><img alt="" src="../_images/sphx_glr_plot_atomic_levels_thumb.png" />
<p><a class="reference internal" href="00-band_structure/plot_atomic_levels.html#sphx-glr-examples-00-band-structure-plot-atomic-levels-py"><span class="std std-ref">Plotting Atomic Levels</span></a></p>
  <div class="sphx-glr-thumbnail-title">Plotting Atomic Levels</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="Plotting spin polarized band structures."><img alt="" src="../_images/sphx_glr_plot_spin_polarized_thumb.png" />
<p><a class="reference internal" href="00-band_structure/plot_spin_polarized.html#sphx-glr-examples-00-band-structure-plot-spin-polarized-py"><span class="std std-ref">Plotting spin polarized band structures</span></a></p>
  <div class="sphx-glr-thumbnail-title">Plotting spin polarized band structures</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="Plotting band structure example."><img alt="" src="../_images/sphx_glr_plot_colinear_thumb.png" />
<p><a class="reference internal" href="00-band_structure/plot_colinear.html#sphx-glr-examples-00-band-structure-plot-colinear-py"><span class="std std-ref">Plotting band structure</span></a></p>
  <div class="sphx-glr-thumbnail-title">Plotting band structure</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="This example illustrates how to utilize various configurations for plotting band structures usi..."><img alt="" src="../_images/sphx_glr_plot_bandsplot_configurations_thumb.png" />
<p><a class="reference internal" href="00-band_structure/plot_bandsplot_configurations.html#sphx-glr-examples-00-band-structure-plot-bandsplot-configurations-py"><span class="std std-ref">Plotting with Configurations in pyprocar</span></a></p>
  <div class="sphx-glr-thumbnail-title">Plotting with Configurations in pyprocar</div>
</div></div></section>
<section id="density-of-states">
<h2>Density of States<a class="headerlink" href="#density-of-states" title="Permalink to this heading">#</a></h2>
<p>These examples demonstrate the density of states plotting capabilities.</p>
<div class="sphx-glr-thumbnails"><div class="sphx-glr-thumbcontainer" tooltip="Plotting non colinear dos in VASP."><img alt="" src="../_images/sphx_glr_plot_noncolinear_dos_vasp_thumb.png" />
<p><a class="reference internal" href="01-dos/plot_noncolinear_dos_vasp.html#sphx-glr-examples-01-dos-plot-noncolinear-dos-vasp-py"><span class="std std-ref">Plotting non colinear dos in VASP</span></a></p>
  <div class="sphx-glr-thumbnail-title">Plotting non colinear dos in VASP</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="Plotting non colinear dos in Quantum Espresso."><img alt="" src="../_images/sphx_glr_plot_noncolinear_dos_qe_thumb.png" />
<p><a class="reference internal" href="01-dos/plot_noncolinear_dos_qe.html#sphx-glr-examples-01-dos-plot-noncolinear-dos-qe-py"><span class="std std-ref">Plotting non colinear dos in Quantum Espresso</span></a></p>
  <div class="sphx-glr-thumbnail-title">Plotting non colinear dos in Quantum Espresso</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="Plotting density example."><img alt="" src="../_images/sphx_glr_plot_colinear_dos_thumb.png" />
<p><a class="reference internal" href="01-dos/plot_colinear_dos.html#sphx-glr-examples-01-dos-plot-colinear-dos-py"><span class="std std-ref">Plotting density of states</span></a></p>
  <div class="sphx-glr-thumbnail-title">Plotting density of states</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="Plotting spin-polarized density of states example."><img alt="" src="../_images/sphx_glr_plot_spin_polarized_dos_thumb.png" />
<p><a class="reference internal" href="01-dos/plot_spin_polarized_dos.html#sphx-glr-examples-01-dos-plot-spin-polarized-dos-py"><span class="std std-ref">Plotting spin-polarized density of states</span></a></p>
  <div class="sphx-glr-thumbnail-title">Plotting spin-polarized density of states</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="This example illustrates how to utilize various configurations for plotting the density of stat..."><img alt="" src="../_images/sphx_glr_plot_dosplot_configurations_thumb.png" />
<p><a class="reference internal" href="01-dos/plot_dosplot_configurations.html#sphx-glr-examples-01-dos-plot-dosplot-configurations-py"><span class="std std-ref">Plotting with Configurations in pyprocar</span></a></p>
  <div class="sphx-glr-thumbnail-title">Plotting with Configurations in pyprocar</div>
</div></div></section>
<section id="bands-and-dos-plot">
<h2>Bands and Dos plot<a class="headerlink" href="#bands-and-dos-plot" title="Permalink to this heading">#</a></h2>
<p>These examples demonstrate the bandsdosplot plotting capabilities.</p>
<div class="sphx-glr-thumbnails"><div class="sphx-glr-thumbcontainer" tooltip="Plotting bandsdosplot example."><img alt="" src="../_images/sphx_glr_plot_bandsdosplot_thumb.png" />
<p><a class="reference internal" href="02-bands_dos/plot_bandsdosplot.html#sphx-glr-examples-02-bands-dos-plot-bandsdosplot-py"><span class="std std-ref">Plotting bandsdosplot</span></a></p>
  <div class="sphx-glr-thumbnail-title">Plotting bandsdosplot</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="This example illustrates how to utilize various configurations for plotting both band structure..."><img alt="" src="../_images/sphx_glr_plot_bandsdosplot_configurations_thumb.png" />
<p><a class="reference internal" href="02-bands_dos/plot_bandsdosplot_configurations.html#sphx-glr-examples-02-bands-dos-plot-bandsdosplot-configurations-py"><span class="std std-ref">Plotting bandsdosplot</span></a></p>
  <div class="sphx-glr-thumbnail-title">Plotting bandsdosplot</div>
</div></div></section>
<section id="fermi-2d">
<h2>Fermi 2D<a class="headerlink" href="#fermi-2d" title="Permalink to this heading">#</a></h2>
<p>These examples demonstrate the Fermi2D plotting capabilities.</p>
<div class="sphx-glr-thumbnails"><div class="sphx-glr-thumbcontainer" tooltip="Plotting fermi2d noncolinear example. For more information about fermi2d refer to fermi2d"><img alt="" src="../_images/sphx_glr_plot_fermi2d_spin_texture_thumb.png" />
<p><a class="reference internal" href="03-fermi2d/plot_fermi2d_spin_texture.html#sphx-glr-examples-03-fermi2d-plot-fermi2d-spin-texture-py"><span class="std std-ref">Plotting fermi2d noncolinear</span></a></p>
  <div class="sphx-glr-thumbnail-title">Plotting fermi2d noncolinear</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="Plotting fermi2d example."><img alt="" src="../_images/sphx_glr_plot_fermi2d_thumb.png" />
<p><a class="reference internal" href="03-fermi2d/plot_fermi2d.html#sphx-glr-examples-03-fermi2d-plot-fermi2d-py"><span class="std std-ref">Plotting fermi2d</span></a></p>
  <div class="sphx-glr-thumbnail-title">Plotting fermi2d</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="This example illustrates how to utilize various configurations for plotting the 2D Fermi surfac..."><img alt="" src="../_images/sphx_glr_plot_fermi2d_configurations_thumb.png" />
<p><a class="reference internal" href="03-fermi2d/plot_fermi2d_configurations.html#sphx-glr-examples-03-fermi2d-plot-fermi2d-configurations-py"><span class="std std-ref">Plotting with Configurations in pyprocar</span></a></p>
  <div class="sphx-glr-thumbnail-title">Plotting with Configurations in pyprocar</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="Plotting rashba spin splitting example.  From our first paper we had an example to plot the dif..."><img alt="" src="../_images/sphx_glr_plot_rashba_spin_spliting_thumb.png" />
<p><a class="reference internal" href="03-fermi2d/plot_rashba_spin_spliting.html#sphx-glr-examples-03-fermi2d-plot-rashba-spin-spliting-py"><span class="std std-ref">Plotting rashba spin splitting</span></a></p>
  <div class="sphx-glr-thumbnail-title">Plotting rashba spin splitting</div>
</div></div></section>
<section id="fermi-3d">
<h2>Fermi 3D<a class="headerlink" href="#fermi-3d" title="Permalink to this heading">#</a></h2>
<p>These examples demonstrate the Fermi3D plotting capabilities.</p>
<p>Symmetry does not currently work! Make sure for fermi surface calculations turn off symmetry</p>
<div class="sphx-glr-thumbnails"><div class="sphx-glr-thumbcontainer" tooltip="Symmetry does not currently work! Make sure for fermi surface calculations turn off symmetry"><img alt="" src="../_images/sphx_glr_plot_fermi3d_spin_texture_thumb.png" />
<p><a class="reference internal" href="04-fermi3d/plot_fermi3d_spin_texture.html#sphx-glr-examples-04-fermi3d-plot-fermi3d-spin-texture-py"><span class="std std-ref">Plotting fermi3d spin_texture</span></a></p>
  <div class="sphx-glr-thumbnail-title">Plotting fermi3d spin_texture</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="Symmetry does not currently work! Make sure for fermi surface calculations turn off symmetry"><img alt="" src="../_images/sphx_glr_plot_fermi3d_plain_thumb.png" />
<p><a class="reference internal" href="04-fermi3d/plot_fermi3d_plain.html#sphx-glr-examples-04-fermi3d-plot-fermi3d-plain-py"><span class="std std-ref">Plotting fermi3d plain</span></a></p>
  <div class="sphx-glr-thumbnail-title">Plotting fermi3d plain</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="Symmetry does not currently work! Make sure for fermi surface calculations turn off symmetry"><img alt="" src="../_images/sphx_glr_plot_fermi3d_isoslider_thumb.png" />
<p><a class="reference internal" href="04-fermi3d/plot_fermi3d_isoslider.html#sphx-glr-examples-04-fermi3d-plot-fermi3d-isoslider-py"><span class="std std-ref">Plotting fermi3d isoslider</span></a></p>
  <div class="sphx-glr-thumbnail-title">Plotting fermi3d isoslider</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="Symmetry does not currently work! Make sure for fermi surface calculations turn off symmetry"><img alt="" src="../_images/sphx_glr_plot_fermi3d_isovalue_gif_thumb.gif" />
<p><a class="reference internal" href="04-fermi3d/plot_fermi3d_isovalue_gif.html#sphx-glr-examples-04-fermi3d-plot-fermi3d-isovalue-gif-py"><span class="std std-ref">Plotting fermi3d isovalue_gif</span></a></p>
  <div class="sphx-glr-thumbnail-title">Plotting fermi3d isovalue_gif</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="Symmetry does not currently work! Make sure for fermi surface calculations turn off symmetry"><img alt="" src="../_images/sphx_glr_plot_fermi3d_spin-polarized_thumb.png" />
<p><a class="reference internal" href="04-fermi3d/plot_fermi3d_spin-polarized.html#sphx-glr-examples-04-fermi3d-plot-fermi3d-spin-polarized-py"><span class="std std-ref">Plotting fermi3d spin-polarized</span></a></p>
  <div class="sphx-glr-thumbnail-title">Plotting fermi3d spin-polarized</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="Symmetry does not currently work! Make sure for fermi surface calculations turn off symmetry"><img alt="" src="../_images/sphx_glr_plot_de_hass_van_alphen_thumb.png" />
<p><a class="reference internal" href="04-fermi3d/plot_de_hass_van_alphen.html#sphx-glr-examples-04-fermi3d-plot-de-hass-van-alphen-py"><span class="std std-ref">Showing how to get van alphen fequencies from the fermi surface</span></a></p>
  <div class="sphx-glr-thumbnail-title">Showing how to get van alphen fequencies from the fermi surface</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="This example illustrates how to utilize various configurations for plotting the 3D Fermi surfac..."><img alt="" src="../_images/sphx_glr_plot_fermi3d_configurations_thumb.png" />
<p><a class="reference internal" href="04-fermi3d/plot_fermi3d_configurations.html#sphx-glr-examples-04-fermi3d-plot-fermi3d-configurations-py"><span class="std std-ref">Plotting with Configurations in pyprocar</span></a></p>
  <div class="sphx-glr-thumbnail-title">Plotting with Configurations in pyprocar</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="Symmetry does not currently work! Make sure for fermi surface calculations turn off symmetry"><img alt="" src="../_images/sphx_glr_plot_fermi3d_cross_section_thumb.png" />
<p><a class="reference internal" href="04-fermi3d/plot_fermi3d_cross_section.html#sphx-glr-examples-04-fermi3d-plot-fermi3d-cross-section-py"><span class="std std-ref">Plotting fermi3d cross_section</span></a></p>
  <div class="sphx-glr-thumbnail-title">Plotting fermi3d cross_section</div>
</div></div></section>
<section id="other">
<h2>Other<a class="headerlink" href="#other" title="Permalink to this heading">#</a></h2>
<p>These examples demonstrate other capabilities.</p>
<div class="sphx-glr-thumbnails"><div class="sphx-glr-thumbcontainer" tooltip="The bandgap of a calculation can be found by:"><img alt="" src="../_images/sphx_glr_plot_bandgap_thumb.png" />
<p><a class="reference internal" href="05-other/plot_bandgap.html#sphx-glr-examples-05-other-plot-bandgap-py"><span class="std std-ref">Example of finding the bandgap</span></a></p>
  <div class="sphx-glr-thumbnail-title">Example of finding the bandgap</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="This utility can be used to generate a 2D k-mesh centered at a given k-point and in a given k-p..."><img alt="" src="../_images/sphx_glr_plot_2dkmesh_generation_thumb.png" />
<p><a class="reference internal" href="05-other/plot_2dkmesh_generation.html#sphx-glr-examples-05-other-plot-2dkmesh-generation-py"><span class="std std-ref">Example of kmesh_generator</span></a></p>
  <div class="sphx-glr-thumbnail-title">Example of kmesh_generator</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="In order to plot a band structure, one must define a set of k-points following a desired k-path..."><img alt="" src="../_images/sphx_glr_plot_kpath_generation_thumb.png" />
<p><a class="reference internal" href="05-other/plot_kpath_generation.html#sphx-glr-examples-05-other-plot-kpath-generation-py"><span class="std std-ref">Example of kpath_generator</span></a></p>
  <div class="sphx-glr-thumbnail-title">Example of kpath_generator</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="The ElectronicBandStructure is used to handle the information  related to the electronic band s..."><img alt="" src="../_images/sphx_glr_plot_ebs_thumb.png" />
<p><a class="reference internal" href="05-other/plot_ebs.html#sphx-glr-examples-05-other-plot-ebs-py"><span class="std std-ref">Example of finding the bandgap</span></a></p>
  <div class="sphx-glr-thumbnail-title">Example of finding the bandgap</div>
</div></div></section>
<section id="pyposcar">
<h2>PyPoscar<a class="headerlink" href="#pyposcar" title="Permalink to this heading">#</a></h2>
<p>These examples demonstrate the PyPoscar module</p>
<div class="sphx-glr-thumbnails"><div class="sphx-glr-thumbcontainer" tooltip="In this example, we&#x27;ll explore the atomic clusters within a slab of Bi2Se3. The slab structure ..."><img alt="" src="../_images/sphx_glr_plot_clusters_pyposcar_thumb.gif" />
<p><a class="reference internal" href="06-PyPoscar/plot_clusters_pyposcar.html#sphx-glr-examples-06-pyposcar-plot-clusters-pyposcar-py"><span class="std std-ref">Visualizing Clusters in Bi2Se3 Slab</span></a></p>
  <div class="sphx-glr-thumbnail-title">Visualizing Clusters in Bi2Se3 Slab</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="In this example, we&#x27;ll demonstrate how to automatically find defects in a POSCAR file"><img alt="" src="../_images/sphx_glr_plot_finding_defects_pyposcar_thumb.gif" />
<p><a class="reference internal" href="06-PyPoscar/plot_finding_defects_pyposcar.html#sphx-glr-examples-06-pyposcar-plot-finding-defects-pyposcar-py"><span class="std std-ref">Finding defects in a POSCAR file</span></a></p>
  <div class="sphx-glr-thumbnail-title">Finding defects in a POSCAR file</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="In this example, we&#x27;ll explore the radial distribution functions (RDF) of an atomic structure. ..."><img alt="" src="../_images/sphx_glr_plot_rdf_cutoff_pyposcar_thumb.png" />
<p><a class="reference internal" href="06-PyPoscar/plot_rdf_cutoff_pyposcar.html#sphx-glr-examples-06-pyposcar-plot-rdf-cutoff-pyposcar-py"><span class="std std-ref">Analyzing Radial Distribution Functions (RDF)</span></a></p>
  <div class="sphx-glr-thumbnail-title">Analyzing Radial Distribution Functions (RDF)</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="In this example, we&#x27;ll demonstrate how to substitute atoms in a POSCAR file using the pyprocar ..."><img alt="" src="../_images/sphx_glr_plot_subsitution_pyposcar_thumb.png" />
<p><a class="reference internal" href="06-PyPoscar/plot_subsitution_pyposcar.html#sphx-glr-examples-06-pyposcar-plot-subsitution-pyposcar-py"><span class="std std-ref">Substituting Atoms in a POSCAR File</span></a></p>
  <div class="sphx-glr-thumbnail-title">Substituting Atoms in a POSCAR File</div>
</div><div class="sphx-glr-thumbcontainer" tooltip="In this example, we&#x27;ll demonstrate several modifications on a POSCAR file using the pyprocar pa..."><img alt="" src="../_images/sphx_glr_plot_utils_pyposcar_thumb.gif" />
<p><a class="reference internal" href="06-PyPoscar/plot_utils_pyposcar.html#sphx-glr-examples-06-pyposcar-plot-utils-pyposcar-py"><span class="std std-ref">Modifying a POSCAR File: Scaling, Supercells, and Defects</span></a></p>
  <div class="sphx-glr-thumbnail-title">Modifying a POSCAR File: Scaling, Supercells, and Defects</div>
</div></div><div class="toctree-wrapper compound">
</div>
<div class="sphx-glr-footer sphx-glr-footer-gallery docutils container">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
<p><a class="reference download internal" download="" href="../_downloads/bc82bea3a5dd7bdba60b65220891d9e5/examples_python.zip"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">all</span> <span class="pre">examples</span> <span class="pre">in</span> <span class="pre">Python</span> <span class="pre">source</span> <span class="pre">code:</span> <span class="pre">examples_python.zip</span></code></a></p>
</div>
<div class="sphx-glr-download sphx-glr-download-jupyter docutils container">
<p><a class="reference download internal" download="" href="../_downloads/fb625db3c50d423b1b7881136ffdeec8/examples_jupyter.zip"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">all</span> <span class="pre">examples</span> <span class="pre">in</span> <span class="pre">Jupyter</span> <span class="pre">notebooks:</span> <span class="pre">examples_jupyter.zip</span></code></a></p>
</div>
</div>
<p class="sphx-glr-signature"><a class="reference external" href="https://sphinx-gallery.github.io">Gallery generated by Sphinx-Gallery</a></p>
</section>
</section>


                </article>
              
              
              
                <footer class="bd-footer-article">
                  
<div class="footer-article-items footer-article__inner">
  
    <div class="footer-article-item"><!-- Previous / next buttons -->
<div class="prev-next-area">
    <a class="left-prev"
       href="../dftprep/lobster.html"
       title="previous page">
      <i class="fa-solid fa-angle-left"></i>
      <div class="prev-next-info">
        <p class="prev-next-subtitle">previous</p>
        <p class="prev-next-title">Lobster Perperation</p>
      </div>
    </a>
    <a class="right-next"
       href="00-band_structure/index.html"
       title="next page">
      <div class="prev-next-info">
        <p class="prev-next-subtitle">next</p>
        <p class="prev-next-title">Band Structure</p>
      </div>
      <i class="fa-solid fa-angle-right"></i>
    </a>
</div></div>
  
</div>

                </footer>
              
            </div>
            
            
              
                <div class="bd-sidebar-secondary bd-toc"><div class="sidebar-secondary-items sidebar-secondary__inner">

  <div class="sidebar-secondary-item">
  <div class="page-toc tocsection onthispage">
    <i class="fa-solid fa-list"></i> On this page
  </div>
  <nav class="bd-toc-nav page-toc">
    <ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#band-structure">Band Structure</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#density-of-states">Density of States</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#bands-and-dos-plot">Bands and Dos plot</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#fermi-2d">Fermi 2D</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#fermi-3d">Fermi 3D</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#other">Other</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#pyposcar">PyPoscar</a></li>
</ul>
  </nav></div>

  <div class="sidebar-secondary-item">
  <div class="tocsection sourcelink">
    <a href="../_sources/examples/index.rst.txt">
      <i class="fa-solid fa-file-lines"></i> Show Source
    </a>
  </div>
</div>

</div></div>
              
            
          </div>
          <footer class="bd-footer-content">
            
          </footer>
        
      </main>
    </div>
  </div>
  
  <!-- Scripts loaded after <body> so the DOM is not blocked -->
  <script src="../_static/scripts/bootstrap.js?digest=e353d410970836974a52"></script>
<script src="../_static/scripts/pydata-sphinx-theme.js?digest=e353d410970836974a52"></script>

  <footer class="bd-footer">
<div class="bd-footer__inner bd-page-width">
  
    <div class="footer-items__start">
      
        <div class="footer-item">
  <p class="copyright">
    
      © Copyright 2020, Romero Group.
      <br/>
    
  </p>
</div>
      
        <div class="footer-item">
  <p class="sphinx-version">
    Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 7.1.2.
    <br/>
  </p>
</div>
      
    </div>
  
  
    <div class="footer-items__end">
      
        <div class="footer-item"><p class="theme-version">
  Built with the <a href="https://pydata-sphinx-theme.readthedocs.io/en/stable/index.html">PyData Sphinx Theme</a> 0.13.3.
</p></div>
      
    </div>
  
</div>

  </footer>
  </body>
</html>
back to top