Metadata-Version: 2.4
Name: sphysics
Version: 2.0.3
Summary: Tools for amplitude analysis, event selection, kinematic calculations, machine learning, and more
Author-Email: Stefan Wallner <swallner@mpp.mpg.de>
License-Expression: GPL-3.0-or-later
License-File: LICENSE
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering
Project-URL: Homepage, https://github.com/sAmplitudes/sphysics
Project-URL: Documentation, https://sphysics.readthedocs.io
Project-URL: Changelog, https://github.com/sAmplitudes/sphysics/releases
Project-URL: DOI, https://doi.org/10.5281/zenodo.23214121
Project-URL: GitLab (main development), https://gitlab.desy.de/belle2/physics/amplitudesatbelleii/sphysics
Project-URL: Issues, https://gitlab.desy.de/belle2/physics/amplitudesatbelleii/sphysics/issues
Project-URL: GitLab Pages documentation, https://belle2.pages.desy.de/physics/amplitudesatbelleii/sphysics
Requires-Python: >=3.8
Requires-Dist: polars
Requires-Dist: pyarrow
Requires-Dist: tensorflow>=2.13.0
Requires-Dist: tensorflow_probability
Requires-Dist: tf-keras
Requires-Dist: numpy
Requires-Dist: scipy
Requires-Dist: iminuit
Requires-Dist: tabulate
Requires-Dist: PyYaml
Requires-Dist: sympy
Requires-Dist: pandas
Requires-Dist: uproot
Requires-Dist: matplotlib
Requires-Dist: numba
Requires-Dist: pdg
Provides-Extra: test
Requires-Dist: pytest>=6; extra == "test"
Requires-Dist: pytest-cov>=3; extra == "test"
Provides-Extra: dev
Requires-Dist: pytest>=6; extra == "dev"
Requires-Dist: pytest-cov>=3; extra == "dev"
Requires-Dist: pre-commit; extra == "dev"
Provides-Extra: docs
Requires-Dist: sphinx>=7.0; extra == "docs"
Requires-Dist: myst_parser>=0.13; extra == "docs"
Requires-Dist: sphinx_copybutton; extra == "docs"
Requires-Dist: sphinx_autodoc_typehints; extra == "docs"
Requires-Dist: furo>=2023.08.17; extra == "docs"
Description-Content-Type: text/markdown

# sphysics

[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.23214121.svg)](https://doi.org/10.5281/zenodo.23214121)

sphysics provides tools designed for amplitude analysis, event selection, kinematic calculations, machine learning, and more.

The documentation for sphysics can be accessed on [Read the Docs](https://sphysics.readthedocs.io) and, with a DESY account, on [GitLab Pages](https://belle2.pages.desy.de/physics/amplitudesatbelleii/sphysics)

Information on how to install and use sphysics can be found in the [Getting Started page](https://sphysics.readthedocs.io/en/stable/gettingstarted.html)

## Development

The main development of sphysics, including issues and merge requests, takes place in the [Belle II GitLab repository](https://gitlab.desy.de/belle2/physics/amplitudesatbelleii/sphysics), which requires a DESY account.
The [GitHub repository](https://github.com/sAmplitudes/sphysics) is a public mirror of the released versions.

If you want to contribute to sphysics, please see the [Contributing page](https://sphysics.readthedocs.io/en/stable/contributing.html)

## Citing sphysics

If you use sphysics, please cite it using its DOI [10.5281/zenodo.23214121](https://doi.org/10.5281/zenodo.23214121), which refers to all versions; the DOIs of the individual versions are listed on Zenodo.
The citation metadata are also available in [CITATION.cff](https://github.com/sAmplitudes/sphysics/blob/main/CITATION.cff).

## License

sphysics is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
sphysics is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the [LICENSE](https://github.com/sAmplitudes/sphysics/blob/main/LICENSE) file for the full license text.

Copyright (C) 2022-2026 the sphysics authors, see [AUTHORS.md](https://github.com/sAmplitudes/sphysics/blob/main/AUTHORS.md).
sphysics contains code from [ROOTPWA](https://github.com/ROOTPWA-Maintainers/ROOTPWA), which is also licensed under the GNU General Public License version 3 or later; the files concerned carry ROOTPWA's license notice.

## Third-party software

sphysics uses [Eigen](https://eigen.tuxfamily.org) 3.4.0, which is downloaded when building sphysics.
Compiled sphysics packages contain code of Eigen, which is licensed under the Mozilla Public License 2.0, with some parts licensed under the BSD and Apache-2.0 licenses.
The source code of Eigen 3.4.0 is available at https://gitlab.com/libeigen/eigen/-/tree/3.4.0.
Compiled sphysics packages also contain code of [pybind11](https://github.com/pybind/pybind11), which is licensed under the BSD 3-Clause License.

<!-- SPHINX-START -->

<!-- prettier-ignore-start -->
<!-- prettier-ignore-end -->
