Skip to main content

Build Status Coverage Status Typecheck Status Doc Status PyPI version License: MIT Code style: black

yaslha: Yet Another SLHA module for Python3

A Python3 package to manipulate SLHA files and convert them to other file formats (JSON and YAML).

Quick Start

(TBW)

Introduction

The SUSY Les Houches Accord is a data format widely used in particle physics phenomenology. It is originally defined in arXiv:hep-ph/0311123 and extended to SLHA2 in arXiv:0801.0045.

Because of its birth in FORTRAN era it is a fixed length format such as

BLOCK SMINPUTS                  # Standard Model input parameters
     1     1.27934000e+02   # alpha_em^-1(M_Z)^MSbar
     2     1.16637000e-05   # G_F [GeV^-2]
     3     1.17200000e-01   # alpha_S(M_Z)^MSbar
     4     9.11876000e+01   # mZ (pole)
     5     4.18000000e+00   # mb(mb)^MSbar
     6     1.73300000e+02   # mt (pole)
     7     1.77682000e+00   # mtau (pole)
#
BLOCK ALPHA                    #
          -2.68630018e-02   # Higgs mixing parameter
#
BLOCK HMIX Q= 2.00000000e+02   # Higgs parameters (DRbar)
     1     5.40000000e+02   # mu(Q)
     2     4.00000000e+01   # tanbeta(Q)
     3     2.46220569e+02   # vev(Q)
     4     2.30400000e+05   # mA^2(Q)
#
...

and extended in many program codes.

Python has two famous SLHA parser: PySLHA by Andy Buckley and pylha by David M. Straub. yaslha is "yet another" SLHA parser, influenced much by these two parsers.

Python regrettably experienced a terrible era due to the transition from Python2 to Python3. To reduce code complexity, this package supports only Python3.4 and later versions.

Usage

(TBW)

Author

Sho Iwamoto / Misho, under much influence from PySLHA by Andy Buckley and pylha by David M. Straub.

Metadata

Release files for yaslha 0.3.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yaslha 0.3.5
File Size Uploaded
yaslha-0.3.5.tar.gz 150.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for yaslha 0.3.5
File Interpreter ABI Platform
yaslha-0.3.5-py3-none-any.whl Python 3 none any Details

Total release size: 323.2 kB

Release files / yaslha-0.3.5.tar.gz

Download URL yaslha-0.3.5.tar.gz
Size 150.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4e8364ddd4008b2a2f861d6d98432de9fb288852ce70cf3b047e6e7643535075
BLAKE2b-256 checksum
How to use checksums
d7d970f57d27bfb947aeeb5372dfa93c37af0ad08c48c7aeb2ff39ccffc19dd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.0 CPython/3.14.4 Darwin/25.4.0

Release files / yaslha-0.3.5-py3-none-any.whl

Download URL yaslha-0.3.5-py3-none-any.whl
Size 173.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6d80ff5bb0e329d11abdce0c7925b4943e2e64a6343dd5c2a420115c7db1aff8
BLAKE2b-256 checksum
How to use checksums
c6a673926803a651ad9aceccb83582ac76c00906de9da66c99b1b8a48f9f5b38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.0 CPython/3.14.4 Darwin/25.4.0

Release history Release notifications | RSS feed

This release

0.3.5 This release

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page