Skip to content

MJKirk/misc

Repository files navigation

Misc

A collection of miscellaneous things that (currently) don't live anywhere else.

Feynman diagram generation

In feynman-diagrams there are Mathematica and Python scripts to generate Feynman diagram topologies using FeynArts to do all the placement automatically. I have modified the LaTeX style file FeynArts provides slightly to match my personal preferences.

The general workflow goes like:

  1. Adjust generate_diagram.m to give you the right diagrams, and let it export the TeX.
  2. Run process_FA_TeX.py on the Mathemaica output to produce a viable LaTeX document - it outputs to stdout so you need to redirect it to a file.
  3. (Optional) Adjust the output of the Python script to arrange the diagrams - the default output just gives you all the diagrams in a row. Just replace the
    %
    \hspace{\gap}
    %
    
    with at least one blank line to get a new line.
  4. Use latexmk -pdfdvi to create the PDF file of your diagrams for including in your paper / talk / other thing.
  5. Use pdfcrop to crop the edges - by default there is a large gap on the sides to add external particle labels, and above and below from the FeynArts default behaviour.

Mathematica

In Mathematica there is some useful Mathematica code I have written / collected from various places.

B Physics at the Tevatron (hyperlinked version)

In B-Physics-at-the-Tevatron-hyperlinked there is a script to regenerate the 'B Physics at the Tevatron' report but with hyperlinks.

docker

In docker there are various dockerfiles - currently one for pymultinest and one for the superplot GUI

About

A collection of miscellaneous things

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published