pyfeyn2 2.0.6 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.

PyPI version PyPI version downloads

Stable

Unstable

workflow

test

Coverage Status

Coverage Status

Codacy Badge

Codacy Badge

Codacy Badge

Codacy Badge

Documentation

Documentation

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

  • (feynmp-auto/feynmf)

Installation

poerty install --with docs --with dev
poetry shell

Documentation

Troubleshooting

Development

package/python structure:

Indices and tables