Next-to-Leading Order Evolution of Transversity Parton Distribution Functions
tParton is a Python package for evolving transversity parton distribution functions (PDFs) using the DGLAP equations. It provides two complementary methods implemented in modern Python, making transversity evolution accessible and efficient.
Transversity PDFs encode information about the transverse spin structure of hadrons and are essential for understanding QCD and analyzing high-energy physics experiments.
Direct integration (Hirai) and Mellin moment (Vogelsang) methods for different use cases
Built on NumPy & SciPy, easy to install via pip and integrate into workflows
Extensively validated against APFEL++ and Mathematica implementations
Comprehensive Jupyter notebooks with validation and parameter studies
Supports both leading order and next-to-leading order evolution
Command-line tools and Python API for flexibility
Install from PyPI using pip:
pip install tparton
Or install from source:
git clone https://github.com/mikesha2/tParton.git
cd tParton
pip install -e .
# Using Mellin moment method (faster)
python -m tparton m input.dat 3.1 10.6 --morp plus -o output.dat
# Using direct integration method (more control)
python -m tparton t input.dat 3.1 10.6 --morp plus -o output.dat
# Get help
python -m tparton m -h
from tparton.m_evolution import evolve as m_evolve
from tparton.t_evolution import evolve as t_evolve
# Evolve using Mellin method
result = m_evolve(
input_pdf,
Q0_squared=3.1, # Initial scale (GeV²)
Q_squared=10.6, # Final scale (GeV²)
morp='plus', # Distribution type: 'plus' or 'minus'
order='NLO' # 'LO' or 'NLO'
)
# Evolve using direct integration
result = t_evolve(
input_pdf,
Q0_squared=3.1,
Q_squared=10.6,
morp='plus',
order='NLO'
)
Discretizes both momentum fraction x and energy scale Q² into grids and solves the integro-differential equation using:
Best for: When precise control over discretization is needed
Exploits the convolution theorem for Mellin transforms. The solution is expressed as:
The evolved PDF is reconstructed via inverse Mellin transform using Talbot contour integration.
Best for: Faster computation with smooth PDFs, less sensitive to discretization
Complete API documentation is available:
→ Browse API Documentationtparton.m_evolution - Mellin moment method implementationtparton.t_evolution - Direct integration method implementationtparton.constants - Physical constants and parametersThe repository includes extensive examples in the examples/ directory:
If you use tParton in your research, please cite:
@article{sha2025tparton,
author = {Sha, Congzhou M and Ma, Bailing},
title = {tParton: Implementation of next-to-leading order evolution
of transversity parton distribution functions},
year = {2025},
eprint = {2409.00221},
archivePrefix = {arXiv},
primaryClass = {hep-ph}
}
Congzhou M Sha - Penn State College of Medicine
Bailing Ma - Wake Forest University School of Medicine
MIT License - see the LICENSE file for details.