pyfeyn2 2.0.3 documentation¶
PyFeyn2¶
Forked from https://pyfeyn.hepforge.org/
PyFeyn is a Python-language based system for drawing Feynman diagrams. It was inspired by the C++ FeynDiagram system, and aims to provide the same functionality and quality of output as that, with the added benefits of a modern interpreted language, an improved interface and output direct to both EPS and PDF. Behind the scenes, PyFeyn uses the excellent PyX system - you can use PyX constructs in PyFeyn diagrams if you want, too.
Dependencies¶
libmagickwand-dev (to display pdfs in a jupyter-notebook, might require a policy change of the imagemagick config for PDFs, see Troubleshooting)
latexmk
(feynmp-auto/feynmf)
Installation¶
poerty install --with docs --with dev
poetry shell
Documentation¶
Troubleshooting¶
Development¶
package/python structure:¶
FeynML:
Examples:
Module: