Skip to content

Commit

Permalink
Another documentation update.
Browse files Browse the repository at this point in the history
  • Loading branch information
vsht committed Feb 27, 2024
1 parent 00f8639 commit 64573c9
Show file tree
Hide file tree
Showing 20 changed files with 2,102 additions and 34 deletions.
165 changes: 165 additions & 0 deletions FeynHelpersBookDev/Extra/FIREUsageExamples.html

Large diffs are not rendered by default.

20 changes: 12 additions & 8 deletions FeynHelpersBookDev/Extra/FeynHelpers.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,20 @@ <h2 id="useful-information">Useful information</h2>
<li><a href="Cite.html">How to cite this package and the related
tools</a></li>
<li><a href="Install.html">Installation instructions</a></li>
<li><a href="TensorReductionWithFermat.html">Tensor reduction with
Fermat</a></li>
</ul>
<h2 id="tutorials">Tutorials</h2>
<ul>
<li><a href="FiestaUsageExamples.html">FIESTA usage examples</a> - a
small tutorial on using the FIESTA interface</li>
<li><a href="PSDUsageExamples.html">pySecDec usage examples</a> - a
small tutorial on using the pySecDec interface</li>
<li><a href="QGRAFUsageExamples.html">QGRAF usage examples</a> - a small
tutorial on using the QFRAF interface</li>
<li><a href="FiestaUsageExamples.html">FIESTA usage examples</a></li>
<li><a href="FireUsageExamples.html">FIRE usage examples</a></li>
<li><a href="KiraUsageExamples.html">KIRA usage examples</a></li>
<li><a href="LoopToolsUsageExamples.html">LoopTools usage
examples</a></li>
<li><a href="PackageXUsageExamples.html">Package-X usage
examples</a></li>
<li><a href="PSDUsageExamples.html">pySecDec usage examples</a></li>
<li><a href="QGRAFUsageExamples.html">QGRAF usage examples</a></li>
<li><a href="TensorReductionWithFermat.html">Tensor reduction with
Fermat</a></li>
</ul>
<h2 id="generic-functions-and-symbols">Generic functions and
symbols</h2>
Expand Down Expand Up @@ -266,6 +269,7 @@ <h2 id="mathematica-fire-interface">Mathematica FIRE interface</h2>
using Mathematica version of FIRE</li>
<li><a href="../FIREAddPropagators.html">FIREAddPropagators</a>, <a
href="../FIREConfigFiles.html">FIREConfigFiles</a>, <a
href="../FIREOutput.html">FIREOutput</a>, <a
href="../FIREPath.html">FIREPath</a>, <a
href="../FIRERun.html">FIRERun</a>, <a
href="../FIRESilentMode.html">FIRESilentMode</a>, <a
Expand Down
19 changes: 8 additions & 11 deletions FeynHelpersBookDev/Extra/FiestaUsageExamples.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ <h2 id="fiesta-usage-examples">FIESTA usage examples</h2>
<div class="sourceCode" id="cb1"><pre
class="sourceCode mathematica"><code class="sourceCode mathematica"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a>int <span class="ex">=</span> GLI<span class="op">[</span>prop1L<span class="op">,</span> <span class="op">{</span><span class="dv">1</span><span class="op">,</span> <span class="dv">1</span><span class="op">}]</span></span>
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a>topo <span class="ex">=</span> FCLoopSwitchEtaSign<span class="op">[</span>FCTopology<span class="op">[</span>prop1L<span class="op">,</span> <span class="op">{</span>FAD<span class="op">[{</span>p1<span class="op">,</span> m1<span class="op">}],</span> FAD<span class="op">[{</span>p1 <span class="sc">+</span> <span class="fu">q</span><span class="op">,</span> m2<span class="op">}]},</span> <span class="op">{</span>p1<span class="op">},</span> <span class="op">{</span><span class="fu">q</span><span class="op">},</span> <span class="op">{},</span> <span class="op">{}],</span> <span class="sc">-</span><span class="dv">1</span><span class="op">]</span></span>
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a>files <span class="ex">=</span> FSACreateMathematicaScripts<span class="op">[</span>int<span class="op">,</span> topo<span class="op">,</span> <span class="fu">NotebookDirectory</span><span class="op">[],</span> FinalSubstitutions <span class="ot">-&gt;</span> <span class="op">{</span><span class="fu">Hold</span><span class="op">[</span>SPD<span class="op">][</span><span class="fu">q</span><span class="op">]</span> <span class="ot">-&gt;</span> qq<span class="op">}</span> <span class="op">,</span> </span>
<span id="cb1-4"><a href="#cb1-4" aria-hidden="true" tabindex="-1"></a> FSAParameterRules <span class="ot">-&gt;</span> <span class="op">{</span>qq <span class="ot">-&gt;</span> <span class="fl">30.</span><span class="op">,</span> m1 <span class="ot">-&gt;</span> <span class="fl">2.</span><span class="op">,</span> m2 <span class="ot">-&gt;</span> <span class="fl">3.</span><span class="op">},</span> OverwriteTarget <span class="ot">-&gt;</span> <span class="cn">True</span><span class="op">]</span></span></code></pre></div>
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a>files <span class="ex">=</span> FSACreateMathematicaScripts<span class="op">[</span>int<span class="op">,</span> topo<span class="op">,</span> <span class="fu">NotebookDirectory</span><span class="op">[],</span> FinalSubstitutions <span class="ot">-&gt;</span> <span class="op">{</span><span class="fu">Hold</span><span class="op">[</span>SPD<span class="op">][</span><span class="fu">q</span><span class="op">]</span> <span class="ot">-&gt;</span> qq<span class="op">},</span> FSAParameterRules <span class="ot">-&gt;</span> <span class="op">{</span>qq <span class="ot">-&gt;</span> <span class="fl">30.</span><span class="op">,</span> m1 <span class="ot">-&gt;</span> <span class="fl">2.</span><span class="op">,</span> m2 <span class="ot">-&gt;</span> <span class="fl">3.</span><span class="op">},</span> OverwriteTarget <span class="ot">-&gt;</span> <span class="cn">True</span><span class="op">]</span></span></code></pre></div>
<p>The output is a list containing two elements. The first one is the
full path to the Mathematica script file <code>FiestaScript.m</code>,
while the second give the name of the output file containing numerical
Expand Down Expand Up @@ -170,13 +169,12 @@ <h2 id="fiesta-usage-examples">FIESTA usage examples</h2>
<span id="cb3-13"><a href="#cb3-13" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb3-14"><a href="#cb3-14" aria-hidden="true" tabindex="-1"></a>uf <span class="ex">=</span> UF<span class="op">[{</span>p1<span class="op">},{</span>m1<span class="sc">^</span><span class="dv">2</span> <span class="sc">-</span> p1<span class="sc">^</span><span class="dv">2</span><span class="op">,</span> m2<span class="sc">^</span><span class="dv">2</span> <span class="sc">-</span> (p1 <span class="sc">+</span> <span class="fu">q</span>)<span class="sc">^</span><span class="dv">2</span><span class="op">},</span> <span class="op">{</span><span class="fu">q</span><span class="sc">^</span><span class="dv">2</span> <span class="ot">-&gt;</span> qq<span class="op">,</span> qq <span class="ot">-&gt;</span> <span class="fl">15.</span><span class="op">,</span> m1 <span class="ot">-&gt;</span> <span class="fl">2.</span><span class="op">,</span> m2 <span class="ot">-&gt;</span> <span class="fl">3.</span><span class="op">}]</span>;</span>
<span id="cb3-15"><a href="#cb3-15" aria-hidden="true" tabindex="-1"></a><span class="fu">SetOptions</span><span class="op">[</span>FIESTA<span class="op">,</span> <span class="st">&quot;NumberOfSubkernels&quot;</span> <span class="ot">-&gt;</span> <span class="dv">4</span><span class="op">,</span><span class="st">&quot;ComplexMode&quot;</span> <span class="ot">-&gt;</span> <span class="cn">True</span><span class="op">,</span><span class="st">&quot;ReturnErrorWithBrackets&quot;</span> <span class="ot">-&gt;</span> <span class="cn">True</span><span class="op">,</span></span>
<span id="cb3-16"><a href="#cb3-16" aria-hidden="true" tabindex="-1"></a><span class="st">&quot;Integrator&quot;</span> <span class="ot">-&gt;</span> <span class="st">&quot;quasiMonteCarlo&quot;</span><span class="op">,</span><span class="st">&quot;IntegratorOptions&quot;</span> <span class="ot">-&gt;</span> <span class="op">{{</span><span class="st">&quot;maxeval&quot;</span><span class="op">,</span> <span class="st">&quot;50000&quot;</span><span class="op">},</span> </span>
<span id="cb3-17"><a href="#cb3-17" aria-hidden="true" tabindex="-1"></a><span class="op">{</span><span class="st">&quot;epsrel&quot;</span><span class="op">,</span> <span class="st">&quot;1.000000E-05&quot;</span><span class="op">},</span> <span class="op">{</span><span class="st">&quot;epsabs&quot;</span><span class="op">,</span> <span class="st">&quot;1.000000E-12&quot;</span><span class="op">},</span> <span class="op">{</span><span class="st">&quot;integralTransform&quot;</span><span class="op">,</span> <span class="st">&quot;korobov&quot;</span><span class="op">}}]</span>;</span>
<span id="cb3-18"><a href="#cb3-18" aria-hidden="true" tabindex="-1"></a>pref <span class="ex">=</span> <span class="dv">1</span>;</span>
<span id="cb3-19"><a href="#cb3-19" aria-hidden="true" tabindex="-1"></a>resRaw <span class="ex">=</span> SDEvaluate<span class="op">[</span>uf<span class="op">,{</span><span class="dv">1</span><span class="op">,</span> <span class="dv">1</span><span class="op">},</span><span class="dv">0</span><span class="op">]</span>;</span>
<span id="cb3-20"><a href="#cb3-20" aria-hidden="true" tabindex="-1"></a>res <span class="ex">=</span> resRaw<span class="sc">*</span>pref;</span>
<span id="cb3-21"><a href="#cb3-21" aria-hidden="true" tabindex="-1"></a><span class="fu">Print</span><span class="op">[</span><span class="st">&quot;Final result: &quot;</span><span class="op">,</span> res<span class="op">]</span>;</span>
<span id="cb3-22"><a href="#cb3-22" aria-hidden="true" tabindex="-1"></a><span class="fu">Put</span><span class="op">[</span>res<span class="op">,</span> resFileName<span class="op">]</span>;</span></code></pre></div>
<span id="cb3-16"><a href="#cb3-16" aria-hidden="true" tabindex="-1"></a><span class="st">&quot;Integrator&quot;</span> <span class="ot">-&gt;</span> <span class="st">&quot;quasiMonteCarlo&quot;</span><span class="op">,</span><span class="st">&quot;IntegratorOptions&quot;</span> <span class="ot">-&gt;</span> <span class="op">{{</span><span class="st">&quot;maxeval&quot;</span><span class="op">,</span> <span class="st">&quot;50000&quot;</span><span class="op">},</span> <span class="op">{</span><span class="st">&quot;epsrel&quot;</span><span class="op">,</span> <span class="st">&quot;1.000000E-05&quot;</span><span class="op">},</span> <span class="op">{</span><span class="st">&quot;epsabs&quot;</span><span class="op">,</span> <span class="st">&quot;1.000000E-12&quot;</span><span class="op">},</span> <span class="op">{</span><span class="st">&quot;integralTransform&quot;</span><span class="op">,</span> <span class="st">&quot;korobov&quot;</span><span class="op">}}]</span>;</span>
<span id="cb3-17"><a href="#cb3-17" aria-hidden="true" tabindex="-1"></a>pref <span class="ex">=</span> <span class="dv">1</span>;</span>
<span id="cb3-18"><a href="#cb3-18" aria-hidden="true" tabindex="-1"></a>resRaw <span class="ex">=</span> SDEvaluate<span class="op">[</span>uf<span class="op">,{</span><span class="dv">1</span><span class="op">,</span> <span class="dv">1</span><span class="op">},</span><span class="dv">0</span><span class="op">]</span>;</span>
<span id="cb3-19"><a href="#cb3-19" aria-hidden="true" tabindex="-1"></a>res <span class="ex">=</span> resRaw<span class="sc">*</span>pref;</span>
<span id="cb3-20"><a href="#cb3-20" aria-hidden="true" tabindex="-1"></a><span class="fu">Print</span><span class="op">[</span><span class="st">&quot;Final result: &quot;</span><span class="op">,</span> res<span class="op">]</span>;</span>
<span id="cb3-21"><a href="#cb3-21" aria-hidden="true" tabindex="-1"></a><span class="fu">Put</span><span class="op">[</span>res<span class="op">,</span> resFileName<span class="op">]</span>;</span></code></pre></div>
<p>To load the numerical results into your Mathematica session you can
use the function <code>FSALoadNumericalResults</code>. To that aim you
just need to give it <code>files</code> as input.</p>
Expand All @@ -189,7 +187,6 @@ <h2 id="fiesta-usage-examples">FIESTA usage examples</h2>
<div class="sourceCode" id="cb5"><pre
class="sourceCode mathematica"><code class="sourceCode mathematica"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a>int <span class="ex">=</span> GLI<span class="op">[</span>prop1L<span class="op">,</span> <span class="op">{</span><span class="dv">1</span><span class="op">,</span> <span class="dv">1</span><span class="op">}]</span></span>
<span id="cb5-2"><a href="#cb5-2" aria-hidden="true" tabindex="-1"></a>topo <span class="ex">=</span> FCLoopSwitchEtaSign<span class="op">[</span>FCTopology<span class="op">[</span>prop1L<span class="op">,</span> <span class="op">{</span>FAD<span class="op">[{</span>p1<span class="op">,</span> m1<span class="op">}],</span> FAD<span class="op">[{</span>p1 <span class="sc">+</span> <span class="fu">q</span><span class="op">,</span> m2<span class="op">}]},</span> <span class="op">{</span>p1<span class="op">},</span> <span class="op">{</span><span class="fu">q</span><span class="op">},</span> <span class="op">{},</span> <span class="op">{}],</span> <span class="sc">-</span><span class="dv">1</span><span class="op">]</span></span>
<span id="cb5-3"><a href="#cb5-3" aria-hidden="true" tabindex="-1"></a>files <span class="ex">=</span> FSACreateMathematicaScripts<span class="op">[</span>int<span class="op">,</span> topo<span class="op">,</span> <span class="fu">NotebookDirectory</span><span class="op">[],</span> FinalSubstitutions <span class="ot">-&gt;</span> <span class="op">{</span><span class="fu">Hold</span><span class="op">[</span>SPD<span class="op">][</span><span class="fu">q</span><span class="op">]</span> <span class="ot">-&gt;</span> qq<span class="op">}</span> <span class="op">,</span> </span>
<span id="cb5-4"><a href="#cb5-4" aria-hidden="true" tabindex="-1"></a> FSAParameterRules <span class="ot">-&gt;</span> <span class="op">{</span>qq <span class="ot">-&gt;</span> <span class="fl">30.</span><span class="op">,</span> m1 <span class="ot">-&gt;</span> <span class="fl">2.</span><span class="op">},</span> OverwriteTarget <span class="ot">-&gt;</span> <span class="cn">True</span><span class="op">,</span> FSASDExpandAsy<span class="ot">-&gt;</span><span class="cn">True</span><span class="op">,</span> FSAExpandVar <span class="ot">-&gt;</span> m2<span class="op">,</span> FSASDExpandAsyOrder<span class="ot">-&gt;</span> <span class="dv">4</span><span class="op">]</span></span></code></pre></div>
<span id="cb5-3"><a href="#cb5-3" aria-hidden="true" tabindex="-1"></a>files <span class="ex">=</span> FSACreateMathematicaScripts<span class="op">[</span>int<span class="op">,</span> topo<span class="op">,</span> <span class="fu">NotebookDirectory</span><span class="op">[],</span> FinalSubstitutions <span class="ot">-&gt;</span> <span class="op">{</span><span class="fu">Hold</span><span class="op">[</span>SPD<span class="op">][</span><span class="fu">q</span><span class="op">]</span> <span class="ot">-&gt;</span> qq<span class="op">}</span> <span class="op">,</span> FSAParameterRules <span class="ot">-&gt;</span> <span class="op">{</span>qq <span class="ot">-&gt;</span> <span class="fl">30.</span><span class="op">,</span> m1 <span class="ot">-&gt;</span> <span class="fl">2.</span><span class="op">},</span> OverwriteTarget <span class="ot">-&gt;</span> <span class="cn">True</span><span class="op">,</span> FSASDExpandAsy<span class="ot">-&gt;</span><span class="cn">True</span><span class="op">,</span> FSAExpandVar <span class="ot">-&gt;</span> m2<span class="op">,</span> FSASDExpandAsyOrder<span class="ot">-&gt;</span> <span class="dv">4</span><span class="op">]</span></span></code></pre></div>
</body>
</html>
Loading

0 comments on commit 64573c9

Please sign in to comment.