lips


Namelips JSON
Version 0.4.0 PyPI version JSON
download
home_pagehttps://github.com/GDeLaurentis/lips
SummaryLorentz Invariant Phase Space
upload_time2024-01-08 19:08:47
maintainer
docs_urlNone
authorGiuseppe De Laurentis
requires_python
licenseGNU General Public License v3.0
keywords lips lorentz invariant phase space spinor helicity
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Lorentz Invariant Phase Space

[![Continuous Integration Status](https://github.com/GDeLaurentis/lips/actions/workflows/continuous_integration.yml/badge.svg)](https://github.com/GDeLaurentis/lips/actions)
[![Coverage](https://img.shields.io/badge/Coverage-81%25-greenyellow?labelColor=2a2f35)](https://github.com/GDeLaurentis/lips/actions)
[![PyPI Downloads](https://img.shields.io/pypi/dm/lips.svg?label=PyPI%20downloads)](https://pypi.org/project/lips/)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/GDeLaurentis/lips/HEAD)


`Lips` is a Python 3 library that provides a phase-space generator and manipulator that is tailored to the needs of modern theoretical calculations in quantum field theory. At present, the package is designed to handle the kinematics of scattering processes involving an arbitrary number of massless particles. Use cases include: 
    
1) generation of phase-space points over complex numbers ($\mathbb{C}$), finite fields ($\mathbb{F}_p$), and $p$-adic numbers ($\mathbb{Q}_p$);
2) generation of spinor strings representing possible kinematic singularities (related to letter of the symbol alphabet);
3) on-the-fly evaluation of arbitrary spinor-helicity expressions in any of the above mentioned fields;
4) construction of special kinematic configurations, with efficient, hard-coded solutions available up to codimension 2;
5) algebro-geometric analysis of irreducible varieties in kinematic space.

## Installation
The package is available on the [Python Package Index](https://pypi.org/project/lips/)
```console
pip install lips
```
Alternativelty, it can be installed by cloning the repo
```console
git clone https://github.com/GDeLaurentis/lips.git path/to/repo
pip install -e path/to/repo
```

## Requirements
`pip` will automatically install the required packages, which are
```
numpy, sympy, mpmath, pyadic
```
The `algebraic_gemetry` submodule requires [Singular](https://www.singular.uni-kl.de/) through the Python interface [syngular](https://github.com/GDeLaurentis/syngular). Singular needs to be installed manually (e.g. `apt-get install singular`).

## Testing

```
pytest --cov lips/ --cov-report html tests/ --verbose
```


## Citation

If you found this library useful, please consider citing it


```bibtex
@inproceedings{DeLaurentis:2023qhd,
    author = "De Laurentis, Giuseppe",
    title = "{Lips: $p$-adic and singular phase space}",
    booktitle = "{21th International Workshop on Advanced Computing and Analysis Techniques in Physics Research}: {AI meets Reality}",
    eprint = "2305.14075",
    archivePrefix = "arXiv",
    primaryClass = "hep-th",
    reportNumber = "PSI-PR-23-14",
    month = "5",
    year = "2023"
}

@phdthesis{DeLaurentis:2020xar,
    author = "De Laurentis, Giuseppe",
    title = "{Numerical techniques for analytical high-multiplicity scattering amplitudes}",
    school = "Durham U.",
    year = "2020"
}
```



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/GDeLaurentis/lips",
    "name": "lips",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "lips,Lorentz Invariant Phase Space,Spinor Helicity",
    "author": "Giuseppe De Laurentis",
    "author_email": "g.dl@hotmail.it",
    "download_url": "https://files.pythonhosted.org/packages/6b/73/48ed3bc003cef7d740df92bf28fe1035d4dfb7b1937ae54212f528313916/lips-0.4.0.tar.gz",
    "platform": null,
    "description": "# Lorentz Invariant Phase Space\n\n[![Continuous Integration Status](https://github.com/GDeLaurentis/lips/actions/workflows/continuous_integration.yml/badge.svg)](https://github.com/GDeLaurentis/lips/actions)\n[![Coverage](https://img.shields.io/badge/Coverage-81%25-greenyellow?labelColor=2a2f35)](https://github.com/GDeLaurentis/lips/actions)\n[![PyPI Downloads](https://img.shields.io/pypi/dm/lips.svg?label=PyPI%20downloads)](https://pypi.org/project/lips/)\n[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/GDeLaurentis/lips/HEAD)\n\n\n`Lips` is a Python 3 library that provides a phase-space generator and manipulator that is tailored to the needs of modern theoretical calculations in quantum field theory. At present, the package is designed to handle the kinematics of scattering processes involving an arbitrary number of massless particles. Use cases include: \n    \n1) generation of phase-space points over complex numbers ($\\mathbb{C}$), finite fields ($\\mathbb{F}_p$), and $p$-adic numbers ($\\mathbb{Q}_p$);\n2) generation of spinor strings representing possible kinematic singularities (related to letter of the symbol alphabet);\n3) on-the-fly evaluation of arbitrary spinor-helicity expressions in any of the above mentioned fields;\n4) construction of special kinematic configurations, with efficient, hard-coded solutions available up to codimension 2;\n5) algebro-geometric analysis of irreducible varieties in kinematic space.\n\n## Installation\nThe package is available on the [Python Package Index](https://pypi.org/project/lips/)\n```console\npip install lips\n```\nAlternativelty, it can be installed by cloning the repo\n```console\ngit clone https://github.com/GDeLaurentis/lips.git path/to/repo\npip install -e path/to/repo\n```\n\n## Requirements\n`pip` will automatically install the required packages, which are\n```\nnumpy, sympy, mpmath, pyadic\n```\nThe `algebraic_gemetry` submodule requires [Singular](https://www.singular.uni-kl.de/) through the Python interface [syngular](https://github.com/GDeLaurentis/syngular). Singular needs to be installed manually (e.g. `apt-get install singular`).\n\n## Testing\n\n```\npytest --cov lips/ --cov-report html tests/ --verbose\n```\n\n\n## Citation\n\nIf you found this library useful, please consider citing it\n\n\n```bibtex\n@inproceedings{DeLaurentis:2023qhd,\n    author = \"De Laurentis, Giuseppe\",\n    title = \"{Lips: $p$-adic and singular phase space}\",\n    booktitle = \"{21th International Workshop on Advanced Computing and Analysis Techniques in Physics Research}: {AI meets Reality}\",\n    eprint = \"2305.14075\",\n    archivePrefix = \"arXiv\",\n    primaryClass = \"hep-th\",\n    reportNumber = \"PSI-PR-23-14\",\n    month = \"5\",\n    year = \"2023\"\n}\n\n@phdthesis{DeLaurentis:2020xar,\n    author = \"De Laurentis, Giuseppe\",\n    title = \"{Numerical techniques for analytical high-multiplicity scattering amplitudes}\",\n    school = \"Durham U.\",\n    year = \"2020\"\n}\n```\n\n\n",
    "bugtrack_url": null,
    "license": "GNU General Public License v3.0",
    "summary": "Lorentz Invariant Phase Space",
    "version": "0.4.0",
    "project_urls": {
        "Documentation": "https://gdelaurentis.github.io/lips/",
        "Download": "https://github.com/GDeLaurentis/lips/archive/v0.4.0.tar.gz",
        "Homepage": "https://github.com/GDeLaurentis/lips",
        "Issues": "https://github.com/GDeLaurentis/lips/issues"
    },
    "split_keywords": [
        "lips",
        "lorentz invariant phase space",
        "spinor helicity"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6b7348ed3bc003cef7d740df92bf28fe1035d4dfb7b1937ae54212f528313916",
                "md5": "436c1a2a71a107c5f5f1511f528e9a03",
                "sha256": "5b992c7491665a479b99d3f53b296a23aa80a9f12e0c3909865a36715bed139f"
            },
            "downloads": -1,
            "filename": "lips-0.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "436c1a2a71a107c5f5f1511f528e9a03",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 92450,
            "upload_time": "2024-01-08T19:08:47",
            "upload_time_iso_8601": "2024-01-08T19:08:47.322669Z",
            "url": "https://files.pythonhosted.org/packages/6b/73/48ed3bc003cef7d740df92bf28fe1035d4dfb7b1937ae54212f528313916/lips-0.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-08 19:08:47",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "GDeLaurentis",
    "github_project": "lips",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "lips"
}
        
Elapsed time: 0.16744s