Skip to content

Commit

Permalink
Generated documentation for triqs/3.3.x
Browse files Browse the repository at this point in the history
jenkins-TRIQS-triqs-3.3.x-11 86a7993d42422d9638906b5a8b72b8748b4c9b2a
  • Loading branch information
flatiron-jenkins committed Jul 5, 2024
1 parent 7b45f16 commit afdc716
Show file tree
Hide file tree
Showing 23 changed files with 65 additions and 65 deletions.
34 changes: 17 additions & 17 deletions triqs/3.3.x/_modules/triqs/gf/block_gf.html

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions triqs/3.3.x/_modules/triqs/gf/descriptor_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -1787,10 +1787,10 @@ <h1>Source code for triqs.gf.descriptor_base</h1><div class="highlight"><pre>
<span class="kn">from</span> <span class="nn">.meshes</span> <span class="kn">import</span> <span class="n">MeshImFreq</span><span class="p">,</span> <span class="n">MeshDLRImFreq</span><span class="p">,</span> <span class="n">MeshReFreq</span>

<div class="viewcode-block" id="LazyCTX">
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.LazyCTX.html#triqs.gf.descriptor_base.LazyCTX">[docs]</a>
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.LazyCTX.html#triqs.gf.descriptors.LazyCTX">[docs]</a>
<span class="k">class</span> <span class="nc">LazyCTX</span><span class="p">:</span>
<div class="viewcode-block" id="LazyCTX.__init__">
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.LazyCTX.__init__.html#triqs.gf.descriptor_base.LazyCTX.__init__">[docs]</a>
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.LazyCTX.__init__.html#triqs.gf.descriptors.LazyCTX.__init__">[docs]</a>
<span class="k">def</span> <span class="fm">__init__</span> <span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">G</span><span class="p">):</span>
<span class="bp">self</span><span class="o">.</span><span class="n">G</span> <span class="o">=</span> <span class="n">G</span></div>

Expand All @@ -1808,19 +1808,19 @@ <h1>Source code for triqs.gf.descriptor_base</h1><div class="highlight"><pre>


<div class="viewcode-block" id="is_lazy">
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.is_lazy.html#triqs.gf.descriptor_base.is_lazy">[docs]</a>
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.is_lazy.html#triqs.gf.descriptors.is_lazy">[docs]</a>
<span class="k">def</span> <span class="nf">is_lazy</span><span class="p">(</span><span class="n">y</span><span class="p">):</span>
<span class="k">return</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">y</span><span class="p">,(</span><span class="n">Omega_</span><span class="p">,</span> <span class="n">LazyExpr</span><span class="p">,</span> <span class="n">LazyExprTerminal</span><span class="p">))</span></div>


<div class="viewcode-block" id="is_scalar">
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.is_scalar.html#triqs.gf.descriptor_base.is_scalar">[docs]</a>
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.is_scalar.html#triqs.gf.descriptors.is_scalar">[docs]</a>
<span class="k">def</span> <span class="nf">is_scalar</span><span class="p">(</span><span class="n">x</span><span class="p">):</span>
<span class="k">return</span> <span class="nb">type</span><span class="p">(</span><span class="n">x</span><span class="p">)</span> <span class="ow">in</span> <span class="p">[</span> <span class="nb">type</span><span class="p">(</span><span class="mi">1</span><span class="p">),</span> <span class="nb">type</span><span class="p">(</span><span class="mf">1.0</span><span class="p">),</span> <span class="nb">type</span><span class="p">(</span><span class="mi">1</span><span class="n">j</span><span class="p">),</span> <span class="n">numpy</span><span class="o">.</span><span class="n">ndarray</span><span class="p">,</span> <span class="nb">int</span><span class="p">,</span> <span class="n">numpy</span><span class="o">.</span><span class="n">int_</span><span class="p">,</span> <span class="n">numpy</span><span class="o">.</span><span class="n">int8</span><span class="p">,</span> <span class="n">numpy</span><span class="o">.</span><span class="n">int16</span><span class="p">,</span> <span class="n">numpy</span><span class="o">.</span><span class="n">int32</span><span class="p">,</span> <span class="nb">float</span><span class="p">,</span> <span class="n">numpy</span><span class="o">.</span><span class="n">float32</span><span class="p">,</span> <span class="n">numpy</span><span class="o">.</span><span class="n">float64</span><span class="p">,</span> <span class="nb">complex</span><span class="p">,</span> <span class="n">numpy</span><span class="o">.</span><span class="n">complex64</span><span class="p">,</span> <span class="n">numpy</span><span class="o">.</span><span class="n">complex128</span> <span class="p">]</span></div>


<div class="viewcode-block" id="convert_scalar_to_const">
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.convert_scalar_to_const.html#triqs.gf.descriptor_base.convert_scalar_to_const">[docs]</a>
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.convert_scalar_to_const.html#triqs.gf.descriptors.convert_scalar_to_const">[docs]</a>
<span class="k">def</span> <span class="nf">convert_scalar_to_const</span><span class="p">(</span><span class="n">expr</span><span class="p">):</span>

<span class="c1"># if the expression is a pure scalar, replace it by Const</span>
Expand All @@ -1839,29 +1839,29 @@ <h1>Source code for triqs.gf.descriptor_base</h1><div class="highlight"><pre>


<div class="viewcode-block" id="Base">
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.Base.html#triqs.gf.descriptor_base.Base">[docs]</a>
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.Base.html#triqs.gf.descriptors.Base">[docs]</a>
<span class="k">class</span> <span class="nc">Base</span> <span class="p">(</span><span class="n">LazyExprTerminal</span><span class="p">):</span>
<div class="viewcode-block" id="Base.__init__">
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.Base.__init__.html#triqs.gf.descriptor_base.Base.__init__">[docs]</a>
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.Base.__init__.html#triqs.gf.descriptors.Base.__init__">[docs]</a>
<span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span><span class="o">**</span><span class="n">kargs</span><span class="p">):</span>
<span class="bp">self</span><span class="o">.</span><span class="vm">__dict__</span><span class="o">.</span><span class="n">update</span><span class="p">(</span><span class="n">kargs</span><span class="p">)</span></div>
</div>


<span class="c1"># The Base for any descriptor taking a BlockGf</span>
<div class="viewcode-block" id="BaseBlock">
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.BaseBlock.html#triqs.gf.descriptor_base.BaseBlock">[docs]</a>
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.BaseBlock.html#triqs.gf.descriptors.BaseBlock">[docs]</a>
<span class="k">class</span> <span class="nc">BaseBlock</span><span class="p">(</span><span class="n">Base</span><span class="p">):</span>
<div class="viewcode-block" id="BaseBlock.__init__">
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.BaseBlock.__init__.html#triqs.gf.descriptor_base.BaseBlock.__init__">[docs]</a>
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.BaseBlock.__init__.html#triqs.gf.descriptors.BaseBlock.__init__">[docs]</a>
<span class="k">def</span> <span class="fm">__init__</span> <span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">G</span><span class="p">,</span> <span class="o">*</span><span class="n">args</span><span class="p">,</span> <span class="o">**</span><span class="n">kw</span><span class="p">):</span>
<span class="n">Base</span><span class="o">.</span><span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">G</span> <span class="o">=</span> <span class="n">G</span><span class="p">)</span>
<span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">is_block_descriptor</span><span class="p">():</span>
<span class="bp">self</span><span class="o">.</span><span class="n">descriptor_iter</span> <span class="o">=</span> <span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="vm">__class__</span><span class="p">(</span><span class="n">g</span><span class="p">,</span> <span class="o">*</span><span class="n">args</span><span class="p">,</span> <span class="o">**</span><span class="n">kw</span><span class="p">)</span> <span class="k">for</span> <span class="n">i</span><span class="p">,</span><span class="n">g</span> <span class="ow">in</span> <span class="n">G</span><span class="p">)</span></div>


<div class="viewcode-block" id="BaseBlock.is_block_descriptor">
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.BaseBlock.is_block_descriptor.html#triqs.gf.descriptor_base.BaseBlock.is_block_descriptor">[docs]</a>
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.BaseBlock.is_block_descriptor.html#triqs.gf.descriptors.BaseBlock.is_block_descriptor">[docs]</a>
<span class="k">def</span> <span class="nf">is_block_descriptor</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">G</span><span class="o">.</span><span class="vm">__class__</span><span class="o">.</span><span class="vm">__name__</span> <span class="o">==</span> <span class="s1">&#39;BlockGf&#39;</span></div>

Expand All @@ -1873,15 +1873,15 @@ <h1>Source code for triqs.gf.descriptor_base</h1><div class="highlight"><pre>
<span class="c1">#########################################################################</span>

<div class="viewcode-block" id="Function">
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.Function.html#triqs.gf.descriptor_base.Function">[docs]</a>
<a class="viewcode-back" href="../../../documentation/manual/triqs/gfs/py/descriptors.html#triqs.gf.descriptors.Function">[docs]</a>
<span class="k">class</span> <span class="nc">Function</span> <span class="p">(</span><span class="n">Base</span><span class="p">):</span>
<span class="w"> </span><span class="sa">r</span><span class="sd">&quot;&quot;&quot; </span>
<span class="sd"> Stores a python function </span>
<span class="sd"> </span>
<span class="sd"> If the Green&#39;s function is defined on an array of points :math:`x_i`, then it will be initialized to :math:`F(x_i)`.</span>
<span class="sd"> &quot;&quot;&quot;</span>
<div class="viewcode-block" id="Function.__init__">
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.Function.__init__.html#triqs.gf.descriptor_base.Function.__init__">[docs]</a>
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.Function.__init__.html#triqs.gf.descriptors.Function.__init__">[docs]</a>
<span class="k">def</span> <span class="fm">__init__</span> <span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">function</span><span class="p">):</span>
<span class="w"> </span><span class="sa">r</span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> :param function: the function :math:`\omega \rightarrow function(\omega)`</span>
Expand All @@ -1903,10 +1903,10 @@ <h1>Source code for triqs.gf.descriptor_base</h1><div class="highlight"><pre>
<span class="c1">#########################################################################</span>

<div class="viewcode-block" id="Const">
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.Const.html#triqs.gf.descriptor_base.Const">[docs]</a>
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.Const.html#triqs.gf.descriptors.Const">[docs]</a>
<span class="k">class</span> <span class="nc">Const</span><span class="p">(</span><span class="n">Base</span><span class="p">):</span>
<div class="viewcode-block" id="Const.__init__">
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.Const.__init__.html#triqs.gf.descriptor_base.Const.__init__">[docs]</a>
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.Const.__init__.html#triqs.gf.descriptors.Const.__init__">[docs]</a>
<span class="k">def</span> <span class="fm">__init__</span> <span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">C</span><span class="p">):</span>
<span class="n">Base</span><span class="o">.</span><span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">C</span><span class="o">=</span><span class="n">C</span><span class="p">)</span></div>

Expand All @@ -1928,7 +1928,7 @@ <h1>Source code for triqs.gf.descriptor_base</h1><div class="highlight"><pre>
<span class="c1">#########################################################################</span>

<div class="viewcode-block" id="Omega_">
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.Omega_.html#triqs.gf.descriptor_base.Omega_">[docs]</a>
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptor_base.Omega_.html#triqs.gf.descriptors.Omega_">[docs]</a>
<span class="k">class</span> <span class="nc">Omega_</span><span class="p">(</span><span class="n">Base</span><span class="p">):</span>
<span class="w"> </span><span class="sa">r</span><span class="sd">&quot;&quot;&quot;The function:math:`\omega \rightarrow \omega` &quot;&quot;&quot;</span>
<span class="k">def</span> <span class="fm">__str__</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> <span class="k">return</span> <span class="s2">&quot;Omega&quot;</span>
Expand Down
4 changes: 2 additions & 2 deletions triqs/3.3.x/_modules/triqs/gf/descriptors.html
Original file line number Diff line number Diff line change
Expand Up @@ -1832,7 +1832,7 @@ <h1>Source code for triqs.gf.descriptors</h1><div class="highlight"><pre>
<span class="c1">##################################################</span>

<div class="viewcode-block" id="SemiCircular">
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptors.SemiCircular.html#triqs.gf.descriptors.SemiCircular">[docs]</a>
<a class="viewcode-back" href="../../../documentation/manual/triqs/gfs/py/descriptors.html#triqs.gf.descriptors.SemiCircular">[docs]</a>
<span class="k">class</span> <span class="nc">SemiCircular</span> <span class="p">(</span><span class="n">Base</span><span class="p">):</span>
<span class="w"> </span><span class="sa">r</span><span class="sd">&quot;&quot;&quot;Hilbert transform of a semicircular density of states, i.e.</span>

Expand Down Expand Up @@ -1885,7 +1885,7 @@ <h1>Source code for triqs.gf.descriptors</h1><div class="highlight"><pre>
<span class="c1">##################################################</span>

<div class="viewcode-block" id="Flat">
<a class="viewcode-back" href="../../../documentation/python_api/triqs.gf.descriptors.Flat.html#triqs.gf.descriptors.Flat">[docs]</a>
<a class="viewcode-back" href="../../../documentation/manual/triqs/gfs/py/descriptors.html#triqs.gf.descriptors.Flat">[docs]</a>
<span class="k">class</span> <span class="nc">Flat</span> <span class="p">(</span><span class="n">Base</span><span class="p">):</span>
<span class="w"> </span><span class="sa">r</span><span class="sd">&quot;&quot;&quot;The Hilbert transform of a flat density of states, with cut-off</span>

Expand Down
Loading

0 comments on commit afdc716

Please sign in to comment.