The ALP Automatic Computing Algorithm
Project description
ALPaca
Welcome to the ALP Automated Computed Algorithm (ALPaca)!
ALPaca is an open-source Python library for the phenomenology of Axion-Like Particles (ALPs) with masses in the ranges of $m_a \sim 0.01 - 10,\mathrm{GeV}$, mainly in processes involving mesons.
ALPaca integrates the full analysis with an easy-to-use syntax:
- Matching of selected UV-complete models (DFSZ-like, KSVZ-like, flaxions, etc.) to the ALP-EFT.
- Numerical running and matching of the ALP-EFT coefficients down to the physical relevant scales, including ALP-$\chi!$ PT.
- Calulation of decay rates for processes involving ALPs:
- ALP production in rare meson decays $M_1\to M_2 a$, quarkonia decays $V\to \gamma a$ and non-resonant production $e^+e^- \to \gamma a$,
- ALP decays into photons, leptons and mesons,
- Processes mediated by on-shell ALPs in the Narrow Width Approximation,
- Leptonic and radiative meson decays, and meson mixing, with off-shell ALPs.
- Calculation of ALP decay lengths and probability of decaying outside the detector, with a displaced vertex or in the prompt region.
- $\chi^2$ statistical analysis, with fine-grained control of the observables and experimental measurements included.
- Generation of publication-grade exclusion plots.
- Automatic management of the bibliographical references used in the analysis.
The ALPaca team
- Jorge Alda: Università degli Studi di Padova & INFN Sezione di Padova & CAPA Zaragoza.
- Marta Fuentes Zamoro: Universidad Autónoma de Madrid & IFT Madrid.
- Luca Merlo: Universidad Autónoma de Madrid & IFT Madrid.
- Xavier Ponce Díaz: University of Basel.
- Stefano Rigolin: Università degli Studi di Padova & INFN Sezione di Padova.
ALPaca in action
In this repositoy you can find examples, tutorials and applications of ALPaca.
ALPaca has been used in the following publications:
- J. Alda, M. Fuentes Zamoro, L. Merlo, X. Ponce Díaz, S. Rigolin: Comprehensive ALP searches in Meson Decays. arXiv:2507.19578
If you have used ALPaca in your publication and want to be featured in this list, please contact us.
Installation
ALPaca can be installed with pip:
pip3 install alpaca-ALPs
It is strongly recommended to install ALPaca inside a virtual environment (venv), in order to avoid clashes with conflicting versions of the dependencies. In order to create a venv, execute the following command
python3 -m venv pathToVenv
where pathToVenv is the location where the files of the venv will be stored. In order to activate the venv, for Linux or MacOS using bash or zsh
source pathToVenv/bin/activate
For Windows using cmd.exe
C:\> pathToVenv\Scripts\Activate.bat
And for Windows using PowerShell
PS C:\> path_to_venv\Scripts\Activate.ps1
Once the venv is activated, ALPaca can be normally installed and used.
Citing ALPaca
If you use ALPaca, please cite
@article{Alda:2025nsz,
author = "Alda, Jorge and Fuentes Zamoro, Marta and Merlo, Luca and Ponce D{\'\i}az, Xavier and Rigolin, Stefano",
title = "{ALPaca: The ALP Automatic Computing Algorithm}",
eprint = "2508.08354",
archivePrefix = "arXiv",
primaryClass = "hep-ph",
reportNumber = "IFT-UAM/CSIC-25-82",
month = "8",
year = "2025"
}
@software{alda_2025_16447037,
author = {Alda, Jorge and
Fuentes Zamoro, Marta and
Merlo, Luca and
Rigolin, Stefano and
Ponce Díaz, Xavier},
title = {ALPaca v1.0},
month = jul,
year = 2025,
publisher = {Zenodo},
version = {v1.0.0-alpha.1},
doi = {10.5281/zenodo.16447037},
url = {https://doi.org/10.5281/zenodo.16447037},
}
Documentation
The ALPaca manual is available on arXiv.
You can also check the automatically-generated documentation.
Feedback
If you encounter bugs or want to propose a new feature, you can contact us using Gihub issues.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file alpaca_alps-1.0.0.tar.gz.
File metadata
- Download URL: alpaca_alps-1.0.0.tar.gz
- Upload date:
- Size: 1.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45ef0ece717ea6e44e950cdab7ca2981754287ea64a981f6346eecec98b40060
|
|
| MD5 |
f01522e0c8dc0c2f93b8116770bc6c5a
|
|
| BLAKE2b-256 |
833411ba95368e242690590316e6f4bbb68afe0ac01905543a49894e4d67e027
|
File details
Details for the file alpaca_alps-1.0.0-py3-none-any.whl.
File metadata
- Download URL: alpaca_alps-1.0.0-py3-none-any.whl
- Upload date:
- Size: 1.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a80462815ad07136767ebe5f539201998c87275268b04536cf7275a5b7dfdb0
|
|
| MD5 |
3a8e3bfbddc219510687f154d58f090a
|
|
| BLAKE2b-256 |
856872541780dfbe52eea3f7aac37ae2e949ccdc029a6da0e4b740634ee92708
|