Repository navigation
FunctionalDiagrams 2.6.0
FunctionalDiagrams 2.6.0 — Feynman diagrams from functional derivatives.
This release makes the options of the package work like those of Mathematica. Every public function that takes options
now has Options[f], listing every name it accepts. SetOptions changes its defaults, and a misspelt option gives a
message instead of being ignored silently. BetheSalpeterLadder now refuses a channel that is not one of its
statistics. For the same calls, the expressions and the pictures are the same as in 2.5.0. No public name is added,
removed or renamed and no default changes, so code written for 2.5.0 gives the same results, unless it set defaults
with SetOptions that 2.5.0 ignored or gave BetheSalpeterLadder a channel of another statistics. The documents now
give exactly what they show and say where the package lives, and the package has a site of its own. 133 public names,
875 tests, all passing.
New in this version
OptionsandSetOptionsfor every function with options.SetOptions[f, ...]changes a default for the
session. AfterSetOptions[SelfEnergy, "Statistics" -> "Boson"], for example,SelfEnergywithout the option gives
the bosonic self-energy. Until nowSetOptionsworked for the drawing functions and a few others. On the functions of
perturbation theory, the self-energy, the vertices and the parquet it was accepted but had no effect. The functions
of the Matsubara sums, of dimensional regularization and of QED,ExpressionToLaTeX,DeclareBloband
SelfEnergyFunctionalhad noOptionsat all. A function that calls another one passes on its own options, never
the other function's defaults:SetOptions[ConnectedCorrelationFunction, ...]does not change
PerturbativeFullVertex.
Fixed
- A misspelt option is no longer ignored silently. A name that the function does not know gives
FunctionalDiagrams::optx, which names the function, the option and the options the function accepts. The option is
then ignored. Before, only the drawing functions and those of the Matsubara sums, dimensional regularization and QED
checked the names, so"Statistcs" -> "Boson"inSelfEnergygave the fermionic result with no warning. - The channel of
BetheSalpeterLadderis checked. A channel that does not belong to the statistics given gives
FunctionalDiagrams::channeland$Failed, and so does a wrong"Channel"inExactEquation["BetheSalpeter", ...].
Before, an unknown name gave an unevaluatedSwitch, and a channel of another statistics gave that statistics'
ladder, both with no message.
Documents
- The first example of the README now gives exactly what it shows: every code block is followed by its output, drawn
asDiagramPlotdraws it, with its orders in bands. φ⁴ theory comes after the electron gas, as in the other
documents.Development/check_readme.wlruns the example and compares it with the panels. - The code of the showcase is now a test:
Development/check_showcase.wlruns every block in order in one fresh
kernel. It compares each output with what the page shows after the block: the pictures band by band, the formulas,
and the values one to one. - The PDFs and the guided tour now say where the package lives, since they travel without the repository. The
showcase and the manual give the install line of the release, the line that opens the tour, and the addresses of the
repository, the wiki and the site. The tour ends with the addresses and the lines that open the two PDFs. The
README's installation shows the line that opens the tour, and the notebook can also be downloaded. - A site of its own on GitHub Pages (https://n4sd4q.github.io/FunctionalDiagrams/). It shows the demo video, what the
package does, the first example with its output, the installation lines with copy buttons, the documents and how to
cite. It has light and dark themes and loads no external scripts, fonts or trackers. The interactive map of the
functions links back to it. - The README says what the package is not (a program for the numerical evaluation of Feynman integrals) and where to
ask. A form for a question or a suggestion joins the problem report, and a security policy (SECURITY.md) states the
package's only access to the network, the daily update check of a notebook. The README also reads better on a
phone. The wiki lists its pages in one order, and the changelog says what a major, a minor and a patch release may
change.
Install
The package needs Mathematica 12.1 or later.
PacletInstall["https://github.com/n4sd4q/FunctionalDiagrams/releases/download/v2.6.0/FunctionalDiagrams-2.6.0.paclet"]
Needs["FunctionalDiagrams`"]Or download FunctionalDiagrams-2.6.0.paclet below and run PacletInstall["/path/to/FunctionalDiagrams-2.6.0.paclet"].
The paclet contains the showcase, the reference manual and the guided tour, and the PDFs are also attached here. The
full list of changes is in the
CHANGELOG.