lucydot/effmass

View on GitHub
docs/build/dos.html

Summary

Maintainability
Test Coverage


<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
  <meta charset="utf-8" />
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  
  <title>effmass.dos &mdash; effmass 1.0.0 documentation</title>
  

  
  <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
  <link rel="stylesheet" href="_static/pygments.css" type="text/css" />

  
  

  
  

  

  
  <!--[if lt IE 9]>
    <script src="_static/js/html5shiv.min.js"></script>
  <![endif]-->
  
    
      <script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
        <script src="_static/jquery.js"></script>
        <script src="_static/underscore.js"></script>
        <script src="_static/doctools.js"></script>
        <script async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/latest.js?config=TeX-AMS-MML_HTMLorMML"></script>
    
    <script type="text/javascript" src="_static/js/theme.js"></script>

    
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="next" title="effmass.analysis" href="analysis.html" />
    <link rel="prev" title="effmass.extrema" href="extrema.html" /> 
</head>

<body class="wy-body-for-nav">

   
  <div class="wy-grid-for-nav">
    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search" >
          

          
            <a href="index.html" class="icon icon-home"> effmass
          

          
          </a>

          
            
            
              <div class="version">
                1.0.0
              </div>
            
          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
    <input type="text" name="q" placeholder="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        
        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
              
            
            
              <ul class="current">
<li class="toctree-l1"><a class="reference internal" href="Features.html">Features</a></li>
<li class="toctree-l1"><a class="reference internal" href="Supported%20codes.html">Supported Codes</a></li>
<li class="toctree-l1"><a class="reference internal" href="Installation.html">Installation</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="API%20documentation.html">API documentation</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="inputs.html">effmass.inputs</a></li>
<li class="toctree-l2"><a class="reference internal" href="extrema.html">effmass.extrema</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">effmass.dos</a></li>
<li class="toctree-l2"><a class="reference internal" href="analysis.html">effmass.analysis</a></li>
<li class="toctree-l2"><a class="reference internal" href="outputs.html">effmass.outputs</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="Implementation.html">Implementation</a></li>
<li class="toctree-l1"><a class="reference internal" href="Related%20packages.html">Related packages</a></li>
<li class="toctree-l1"><a class="reference internal" href="Development.html">Development</a></li>
<li class="toctree-l1"><a class="reference internal" href="Testing.html">Testing</a></li>
<li class="toctree-l1"><a class="reference internal" href="Citing.html">Citing</a></li>
<li class="toctree-l1"><a class="reference internal" href="License.html">License</a></li>
<li class="toctree-l1"><a class="reference internal" href="Contributors.html">Contributors</a></li>
<li class="toctree-l1"><a class="reference internal" href="Acknowledgements.html">Acknowledgements</a></li>
</ul>

            
          
        </div>
        
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" aria-label="top navigation">
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="index.html">effmass</a>
        
      </nav>


      <div class="wy-nav-content">
        
        <div class="rst-content">
        
          

















<div role="navigation" aria-label="breadcrumbs navigation">

  <ul class="wy-breadcrumbs">
    
      <li><a href="index.html" class="icon icon-home"></a> &raquo;</li>
        
          <li><a href="API%20documentation.html">API documentation</a> &raquo;</li>
        
      <li>effmass.dos</li>
    
    
      <li class="wy-breadcrumbs-aside">
        
          
            <a href="_sources/dos.rst.txt" rel="nofollow"> View page source</a>
          
        
      </li>
    
  </ul>

  
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
  <div class="section" id="module-effmass.dos">
<span id="effmass-dos"></span><h1>effmass.dos<a class="headerlink" href="#module-effmass.dos" title="Permalink to this headline">¶</a></h1>
<p>A module for analysing DOSCAR data.</p>
<dl class="py function">
<dt id="effmass.dos.electron_fill_level">
<code class="sig-prename descclassname"><span class="pre">effmass.dos.</span></code><code class="sig-name descname"><span class="pre">electron_fill_level</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">Data</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">volume</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">concentration</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">CBM_index</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/effmass/dos.html#electron_fill_level"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#effmass.dos.electron_fill_level" title="Permalink to this definition">¶</a></dt>
<dd><p>Finds the energy to which a given electron concentration will fill the density of states in <code class="xref py py-attr docutils literal notranslate"><span class="pre">integrated_dos</span></code>.</p>
<p>Uses linear interpolation to estimate the energy between two points given in the DOSCAR.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>Data</strong> (<a class="reference internal" href="inputs.html#effmass.inputs.Data" title="effmass.inputs.Data"><em>Data</em></a>) – Instance of the <code class="xref py py-class docutils literal notranslate"><span class="pre">Data</span></code> class.</p></li>
<li><p><strong>volume</strong> (<em>float</em>) – volume of the unit cell in angstrom <span class="math notranslate nohighlight">\(^3\)</span>.</p></li>
<li><p><strong>concentration</strong> (<em>float</em>) – electron concentration in cm <span class="math notranslate nohighlight">\(^{-3}\)</span>.</p></li>
<li><p><strong>CBM_index</strong> (<em>int</em>) – highest index of the <code class="xref py py-attr docutils literal notranslate"><span class="pre">integrated_dos</span></code> array where the energy is less than <a class="reference internal" href="inputs.html#effmass.inputs.Data.CBM" title="effmass.inputs.Data.CBM"><code class="xref py py-attr docutils literal notranslate"><span class="pre">CBM</span></code></a>.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the energy (eV, referenced from the CBM) to which the electrons will fill. For the case where the concentration specified would fill all states specified by <code class="xref py py-attr docutils literal notranslate"><span class="pre">integrated_dos</span></code>, None is returned.</p>
</dd>
<dt class="field-odd">Return type</dt>
<dd class="field-odd"><p>float</p>
</dd>
</dl>
<p class="rubric">Notes</p>
<p>The precision of the result will depend upon the energy resolution in the DOSCAR.</p>
</dd></dl>

<dl class="py function">
<dt id="effmass.dos.find_dos_CBM_index">
<code class="sig-prename descclassname"><span class="pre">effmass.dos.</span></code><code class="sig-name descname"><span class="pre">find_dos_CBM_index</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">Data</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/effmass/dos.html#find_dos_CBM_index"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#effmass.dos.find_dos_CBM_index" title="Permalink to this definition">¶</a></dt>
<dd><p>Finds the highest index of the
<code class="xref py py-attr docutils literal notranslate"><span class="pre">integrated_dos</span></code> array where the energy is less
than <a class="reference internal" href="inputs.html#effmass.inputs.Data.CBM" title="effmass.inputs.Data.CBM"><code class="xref py py-attr docutils literal notranslate"><span class="pre">CBM</span></code></a>.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>Data</strong> (<a class="reference internal" href="inputs.html#effmass.inputs.Data" title="effmass.inputs.Data"><em>Data</em></a>) – Instance of the Data class.</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the highest index of the <code class="xref py py-attr docutils literal notranslate"><span class="pre">integrated_dos</span></code> array where the energy is less than <a class="reference internal" href="inputs.html#effmass.inputs.Data.CBM" title="effmass.inputs.Data.CBM"><code class="xref py py-attr docutils literal notranslate"><span class="pre">CBM</span></code></a>.</p>
</dd>
<dt class="field-odd">Return type</dt>
<dd class="field-odd"><p>int</p>
</dd>
</dl>
</dd></dl>

<dl class="py function">
<dt id="effmass.dos.find_dos_VBM_index">
<code class="sig-prename descclassname"><span class="pre">effmass.dos.</span></code><code class="sig-name descname"><span class="pre">find_dos_VBM_index</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">Data</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/effmass/dos.html#find_dos_VBM_index"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#effmass.dos.find_dos_VBM_index" title="Permalink to this definition">¶</a></dt>
<dd><p>Finds the lowest index of the
<code class="xref py py-attr docutils literal notranslate"><span class="pre">integrated_dos</span></code> array where the energy exceeds
<a class="reference internal" href="inputs.html#effmass.inputs.Data.VBM" title="effmass.inputs.Data.VBM"><code class="xref py py-attr docutils literal notranslate"><span class="pre">VBM</span></code></a>.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><p><strong>Data</strong> (<a class="reference internal" href="inputs.html#effmass.inputs.Data" title="effmass.inputs.Data"><em>Data</em></a>) – Instance of the Data class.</p>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the lowest index of the <code class="xref py py-attr docutils literal notranslate"><span class="pre">integrated_dos</span></code> array where the energy exceeds <a class="reference internal" href="inputs.html#effmass.inputs.Data.VBM" title="effmass.inputs.Data.VBM"><code class="xref py py-attr docutils literal notranslate"><span class="pre">VBM</span></code></a>.</p>
</dd>
<dt class="field-odd">Return type</dt>
<dd class="field-odd"><p>int</p>
</dd>
</dl>
</dd></dl>

<dl class="py function">
<dt id="effmass.dos.hole_fill_level">
<code class="sig-prename descclassname"><span class="pre">effmass.dos.</span></code><code class="sig-name descname"><span class="pre">hole_fill_level</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">Data</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">volume</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">concentration</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">VBM_index</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="_modules/effmass/dos.html#hole_fill_level"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#effmass.dos.hole_fill_level" title="Permalink to this definition">¶</a></dt>
<dd><p>Finds the energy to which a given hole concentration will fill the density of states in <code class="xref py py-attr docutils literal notranslate"><span class="pre">integrated_dos</span></code>.</p>
<p>Uses linear interpolation to estimate the energy between two points given in the DOSCAR.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>Data</strong> (<a class="reference internal" href="inputs.html#effmass.inputs.Data" title="effmass.inputs.Data"><em>Data</em></a>) – Instance of the <code class="xref py py-class docutils literal notranslate"><span class="pre">Data</span></code> class.</p></li>
<li><p><strong>volume</strong> (<em>float</em>) – volume of the unit cell in angstrom <span class="math notranslate nohighlight">\(^3\)</span>.</p></li>
<li><p><strong>concentration</strong> – hole concentration in cm <span class="math notranslate nohighlight">\(^{-3}\)</span>.</p></li>
<li><p><strong>VBM_index</strong> (<em>int</em>) – lowest index of the <code class="xref py py-attr docutils literal notranslate"><span class="pre">integrated_dos</span></code> array where the energy is more than than <a class="reference internal" href="inputs.html#effmass.inputs.Data.VBM" title="effmass.inputs.Data.VBM"><code class="xref py py-attr docutils literal notranslate"><span class="pre">VBM</span></code></a>.</p></li>
</ul>
</dd>
<dt class="field-even">Returns</dt>
<dd class="field-even"><p>the energy (eV, referenced from the VBM) to which the holes will fill. For the case where the concentration specified would fill all states specified by <code class="xref py py-attr docutils literal notranslate"><span class="pre">integrated_dos</span></code>, None is returned.</p>
</dd>
<dt class="field-odd">Return type</dt>
<dd class="field-odd"><p>float</p>
</dd>
</dl>
<p class="rubric">Notes</p>
<p>The precision of the result will depend upon the energy resolution in the DOSCAR.</p>
</dd></dl>

</div>


           </div>
           
          </div>
          <footer>
    <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
        <a href="analysis.html" class="btn btn-neutral float-right" title="effmass.analysis" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
        <a href="extrema.html" class="btn btn-neutral float-left" title="effmass.extrema" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
    </div>

  <hr/>

  <div role="contentinfo">
    <p>
        &#169; Copyright 2018, Lucy Whalley.

    </p>
  </div>
    
    
    
    Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
    
    <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
    
    provided by <a href="https://readthedocs.org">Read the Docs</a>. 

</footer>
        </div>
      </div>

    </section>

  </div>
  

  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script>

  
  
    
   

</body>
</html>