ampform


Nameampform JSON
Version 0.15.0 PyPI version JSON
download
home_page
SummaryAutomatically generate symbolic amplitude models for Partial Wave Analysis
upload_time2024-03-07 19:47:29
maintainer
docs_urlNone
author
requires_python>=3.7
licenseGPLv3 or later
keywords hep pwa amplitude analysis partial wave analysis particle physics particles physics
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # AmpForm

[![10.5281/zenodo.5526648](https://zenodo.org/badge/doi/10.5281/zenodo.5526648.svg)](https://doi.org/10.5281/zenodo.5526648)
[![GPLv3+ license](https://img.shields.io/badge/License-GPLv3+-blue.svg)](https://www.gnu.org/licenses/gpl-3.0-standalone.html)

[![PyPI package](https://badge.fury.io/py/ampform.svg)](https://pypi.org/project/ampform)
[![Conda package](https://anaconda.org/conda-forge/ampform/badges/version.svg)](https://anaconda.org/conda-forge/ampform)
[![Supported Python versions](https://img.shields.io/pypi/pyversions/ampform)](https://pypi.org/project/ampform)

[![Binder](https://static.mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/ComPWA/ampform/stable?filepath=docs/usage)
[![Google Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/ComPWA/ampform/blob/stable)
[![Open in Visual Studio Code](https://img.shields.io/badge/vscode-open-blue?logo=visualstudiocode)](https://open.vscode.dev/ComPWA/ampform)
[![GitPod](https://img.shields.io/badge/gitpod-open-blue?logo=gitpod)](https://gitpod.io/#https://github.com/ComPWA/ampform)

[![Documentation build status](https://readthedocs.org/projects/ampform/badge/?version=latest)](https://ampform.readthedocs.io)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/ComPWA/ampform/main.svg)](https://results.pre-commit.ci/latest/github/ComPWA/ampform/main)
[![pytest](https://github.com/ComPWA/ampform/workflows/pytest/badge.svg)](https://github.com/ComPWA/ampform/actions?query=branch%3Amain+workflow%3Apytest)
[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](https://mypy.readthedocs.io)
[![Test coverage](https://codecov.io/gh/ComPWA/ampform/branch/main/graph/badge.svg)](https://codecov.io/gh/ComPWA/ampform)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/70fc5fb0f3954a9d82d142efeff4df31)](https://www.codacy.com/gh/ComPWA/ampform)
[![Spelling checked](https://img.shields.io/badge/cspell-checked-brightgreen.svg)](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)

AmpForm is a Python library of spin formalisms and dynamics with which you can
automatically formulate symbolic amplitude models for Partial Wave Analysis. The
resulting amplitude models are formulated with
[SymPy](https://www.sympy.org/en/index.html) (a Computer Algebra System). This not only
makes it easy to inspect and visualize the resulting amplitude models, but also means
the amplitude models can be used as templates for faster computational back-ends (see
[TensorWaves](https://github.com/ComPWA/tensorwaves))!

Visit [ampform.rtfd.io](https://ampform.readthedocs.io) for several usage examples. For
an overview of **upcoming releases and planned functionality**, see
[here](https://github.com/ComPWA/ampform/milestones?direction=asc&sort=title&state=open).

## Available features

- **Automatic amplitude model building**<br /> Convert state transition graphs from
  [QRules](https://github.com/ComPWA/qrules) to an amplitude model that is
  _mathematically expressed_ with [SymPy](https://docs.sympy.org) and can be _converted
  to any backend_ (see [TensorWaves](https://tensorwaves.rtfd.io)).
- **Spin formalisms**
  - [Helicity formalism](https://ampform.readthedocs.io/en/stable/usage/helicity/formalism.html)
  - Canonical formalism
  - [Spin alignment](https://ampform.readthedocs.io/en/stable/usage/helicity/spin-alignment.html)
    for generic, multi-body decays that feature different decay topologies
- **Dynamics**
  - [Relativistic Breit-Wigner](https://ampform.readthedocs.io/en/stable/api/ampform.dynamics.html#ampform.dynamics.relativistic_breit_wigner_with_ff),
    optionally with form factors and/or
    [energy-dependent width](https://ampform.readthedocs.io/en/stable/api/ampform.dynamics.html#ampform.dynamics.EnergyDependentWidth)
  - [Symbolic _K_-matrix](https://ampform.readthedocs.io/en/stable/usage/dynamics/k-matrix.html#non-relativistic-k-matrix)
    for an arbitrary number of poles and channels
  - [Symbolic _P_-vector](https://ampform.readthedocs.io/en/stable/usage/dynamics/k-matrix.html#p-vector)
    for an arbitrary number of poles and channels

## Contribute

See [`CONTRIBUTING.md`](./CONTRIBUTING.md)

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "ampform",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "compwa-admin@ep1.rub.de",
    "keywords": "HEP,PWA,amplitude analysis,partial wave analysis,particle physics,particles,physics",
    "author": "",
    "author_email": "Common Partial Wave Analysis <compwa-admin@ep1.rub.de>",
    "download_url": "https://files.pythonhosted.org/packages/db/9e/b03b17db85ffc77fd33d5e3c021ad9a895c489609839b5c23315a9fef08c/ampform-0.15.0.tar.gz",
    "platform": null,
    "description": "# AmpForm\n\n[![10.5281/zenodo.5526648](https://zenodo.org/badge/doi/10.5281/zenodo.5526648.svg)](https://doi.org/10.5281/zenodo.5526648)\n[![GPLv3+ license](https://img.shields.io/badge/License-GPLv3+-blue.svg)](https://www.gnu.org/licenses/gpl-3.0-standalone.html)\n\n[![PyPI package](https://badge.fury.io/py/ampform.svg)](https://pypi.org/project/ampform)\n[![Conda package](https://anaconda.org/conda-forge/ampform/badges/version.svg)](https://anaconda.org/conda-forge/ampform)\n[![Supported Python versions](https://img.shields.io/pypi/pyversions/ampform)](https://pypi.org/project/ampform)\n\n[![Binder](https://static.mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/ComPWA/ampform/stable?filepath=docs/usage)\n[![Google Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/ComPWA/ampform/blob/stable)\n[![Open in Visual Studio Code](https://img.shields.io/badge/vscode-open-blue?logo=visualstudiocode)](https://open.vscode.dev/ComPWA/ampform)\n[![GitPod](https://img.shields.io/badge/gitpod-open-blue?logo=gitpod)](https://gitpod.io/#https://github.com/ComPWA/ampform)\n\n[![Documentation build status](https://readthedocs.org/projects/ampform/badge/?version=latest)](https://ampform.readthedocs.io)\n[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/ComPWA/ampform/main.svg)](https://results.pre-commit.ci/latest/github/ComPWA/ampform/main)\n[![pytest](https://github.com/ComPWA/ampform/workflows/pytest/badge.svg)](https://github.com/ComPWA/ampform/actions?query=branch%3Amain+workflow%3Apytest)\n[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](https://mypy.readthedocs.io)\n[![Test coverage](https://codecov.io/gh/ComPWA/ampform/branch/main/graph/badge.svg)](https://codecov.io/gh/ComPWA/ampform)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/70fc5fb0f3954a9d82d142efeff4df31)](https://www.codacy.com/gh/ComPWA/ampform)\n[![Spelling checked](https://img.shields.io/badge/cspell-checked-brightgreen.svg)](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell)\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n\nAmpForm is a Python library of spin formalisms and dynamics with which you can\nautomatically formulate symbolic amplitude models for Partial Wave Analysis. The\nresulting amplitude models are formulated with\n[SymPy](https://www.sympy.org/en/index.html) (a Computer Algebra System). This not only\nmakes it easy to inspect and visualize the resulting amplitude models, but also means\nthe amplitude models can be used as templates for faster computational back-ends (see\n[TensorWaves](https://github.com/ComPWA/tensorwaves))!\n\nVisit [ampform.rtfd.io](https://ampform.readthedocs.io) for several usage examples. For\nan overview of **upcoming releases and planned functionality**, see\n[here](https://github.com/ComPWA/ampform/milestones?direction=asc&sort=title&state=open).\n\n## Available features\n\n- **Automatic amplitude model building**<br /> Convert state transition graphs from\n  [QRules](https://github.com/ComPWA/qrules) to an amplitude model that is\n  _mathematically expressed_ with [SymPy](https://docs.sympy.org) and can be _converted\n  to any backend_ (see [TensorWaves](https://tensorwaves.rtfd.io)).\n- **Spin formalisms**\n  - [Helicity formalism](https://ampform.readthedocs.io/en/stable/usage/helicity/formalism.html)\n  - Canonical formalism\n  - [Spin alignment](https://ampform.readthedocs.io/en/stable/usage/helicity/spin-alignment.html)\n    for generic, multi-body decays that feature different decay topologies\n- **Dynamics**\n  - [Relativistic Breit-Wigner](https://ampform.readthedocs.io/en/stable/api/ampform.dynamics.html#ampform.dynamics.relativistic_breit_wigner_with_ff),\n    optionally with form factors and/or\n    [energy-dependent width](https://ampform.readthedocs.io/en/stable/api/ampform.dynamics.html#ampform.dynamics.EnergyDependentWidth)\n  - [Symbolic _K_-matrix](https://ampform.readthedocs.io/en/stable/usage/dynamics/k-matrix.html#non-relativistic-k-matrix)\n    for an arbitrary number of poles and channels\n  - [Symbolic _P_-vector](https://ampform.readthedocs.io/en/stable/usage/dynamics/k-matrix.html#p-vector)\n    for an arbitrary number of poles and channels\n\n## Contribute\n\nSee [`CONTRIBUTING.md`](./CONTRIBUTING.md)\n",
    "bugtrack_url": null,
    "license": "GPLv3 or later",
    "summary": "Automatically generate symbolic amplitude models for Partial Wave Analysis",
    "version": "0.15.0",
    "project_urls": {
        "Changelog": "https://github.com/ComPWA/ampform/releases",
        "Documentation": "https://ampform.rtfd.io",
        "Source": "https://github.com/ComPWA/ampform",
        "Tracker": "https://github.com/ComPWA/ampform/issues"
    },
    "split_keywords": [
        "hep",
        "pwa",
        "amplitude analysis",
        "partial wave analysis",
        "particle physics",
        "particles",
        "physics"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9271b161178ea091814110037a7312b8c01aef0c26198ae58853cda63c0a68cb",
                "md5": "c6527372858262f10c6bea0a9c2b88e0",
                "sha256": "331fa6397bf8ccb482c4a13c274381b23016f9d33efafd46654a465c52071848"
            },
            "downloads": -1,
            "filename": "ampform-0.15.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c6527372858262f10c6bea0a9c2b88e0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 89220,
            "upload_time": "2024-03-07T19:47:27",
            "upload_time_iso_8601": "2024-03-07T19:47:27.362184Z",
            "url": "https://files.pythonhosted.org/packages/92/71/b161178ea091814110037a7312b8c01aef0c26198ae58853cda63c0a68cb/ampform-0.15.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "db9eb03b17db85ffc77fd33d5e3c021ad9a895c489609839b5c23315a9fef08c",
                "md5": "4cfc861188cc908f40baf5eec11deede",
                "sha256": "8b508f53ea587704f38414dbf4d302c9d847da7a94582b2a0615fe5325c48040"
            },
            "downloads": -1,
            "filename": "ampform-0.15.0.tar.gz",
            "has_sig": false,
            "md5_digest": "4cfc861188cc908f40baf5eec11deede",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 187285,
            "upload_time": "2024-03-07T19:47:29",
            "upload_time_iso_8601": "2024-03-07T19:47:29.488544Z",
            "url": "https://files.pythonhosted.org/packages/db/9e/b03b17db85ffc77fd33d5e3c021ad9a895c489609839b5c23315a9fef08c/ampform-0.15.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-07 19:47:29",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ComPWA",
    "github_project": "ampform",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "ampform"
}
        
Elapsed time: 0.20459s