pyfeyn2 2.4.2 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)
ghostscript
latexmk
(graphviz)
(feynmp-auto/feynmf)
Installation
poerty install --with docs --with dev
poetry shell
Documentation
Similar Feynman diagram rendering project:
Several of these are integrated into pyfeyn2.
Troubleshooting
Development
package/python structure:
FeynML:
Renderers:
Interfaces:
PyFeyn2: A Python package for drawing Feynman diagrams. |
|
FeynML is a Python package for creating Feynman diagrams in the FeynML format. |