Skip to main content

A Python package to handle SLHA (SUSY Les Houches Accord) files.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yaslha-0.3.2.tar.gz (153.1 kB view details)

Uploaded Source

Built Distribution

yaslha-0.3.2-py3-none-any.whl (172.6 kB view details)

Uploaded Python 3

File details

Details for the file yaslha-0.3.2.tar.gz.

File metadata

  • Download URL: yaslha-0.3.2.tar.gz
  • Upload date:
  • Size: 153.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.7 Darwin/18.7.0

File hashes

Hashes for yaslha-0.3.2.tar.gz
Algorithm Hash digest
SHA256 a55b6b122e6b1459736eab6db2b3847eeb9620c3f2f61eea26cf255c038b499b
MD5 3ba1228d149c490f66120ebd5ecc2ecc
BLAKE2b-256 5f22bddb7774f67d7d1e3557cc3ffb669cc2082dce85b8e8dec37923ff96a3fc

See more details on using hashes here.

File details

Details for the file yaslha-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: yaslha-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 172.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.7 Darwin/18.7.0

File hashes

Hashes for yaslha-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1f816969f7c9f7be047d84d39d592fb003657ca4f32592e1fcb6b6e140f8ee51
MD5 3dcd4de5eb70c255fa98e2d489d7de5e
BLAKE2b-256 4cb289a8575ac154e4d49bd6e1a6ac34fedc67c0734d022c8ca0b9a20e604181

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page