This repository contains code designed to calculate total cross-sections for processes where Sommerfeld corrections are relevant at higher orders, for any angular momentum number, l. The code is based on the research papers available on arXiv: arXiv:1612.02825v4 and arXiv:2203.04326v2.
The primary goal of this project is to develop a tool that can take any Lagrangian input formatted in simple LaTeX style and produce scattering amplitudes with Sommerfeld corrections already applied. The output can be generated in both LaTeX format and as Python functions.
- Calculate total cross-sections with Sommerfeld corrections for various processes.
- Input any Lagrangian in simple LaTeX format.
- Obtain scattering amplitudes with Sommerfeld corrections in LaTeX and Python function formats.
Follow these steps to get started with the Sommerfeld Corrections Calculator:
-
Clone this repository to your local machine.
git clone https://github.com/mardesoushi/xsec-parwaver.py.git
-
Install the required dependencies if necessary (list them here).
pip install -r requirements.txt
-
Run the code with your desired input Lagrangian. (TO DO)
python main.py your_input_file.tex
-
You will find the output scattering amplitudes in LaTeX and Python function formats in the designated output directory.
To use this code effectively, follow these guidelines:
-
Prepare your input Lagrangian in a LaTeX file, e.g.,
your_input_file.tex
. -
Run the code as mentioned in the "Getting Started" section, providing your input LaTeX file as an argument.
-
Review the output files in the designated output directory for the calculated scattering amplitudes.
We welcome contributions to enhance and expand this project. Feel free to fork this repository, make improvements, and submit pull requests.
This project is licensed under the MIT License - see the LICENSE.md file for details.
We would like to express our gratitude to the authors of the research papers on arXiv for their valuable contributions and inspiration for this project.