Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lukasheinrich/awkward-xaod-bridge


https://github.com/lukasheinrich/awkward-xaod-bridge

Last synced: 23 days ago
JSON representation

Awesome Lists containing this project

README

        

# awkward-xaod-bridge

[![Actions Status][actions-badge]][actions-link]
[![Documentation Status][rtd-badge]][rtd-link]
[![Code style: black][black-badge]][black-link]

[![PyPI version][pypi-version]][pypi-link]
[![Conda-Forge][conda-badge]][conda-link]
[![PyPI platforms][pypi-platforms]][pypi-link]

[![GitHub Discussion][github-discussions-badge]][github-discussions-link]
[![Gitter][gitter-badge]][gitter-link]

[actions-badge]: https://github.com/lukasheinrich/awkward-xaod-bridge/workflows/CI/badge.svg
[actions-link]: https://github.com/lukasheinrich/awkward-xaod-bridge/actions
[black-badge]: https://img.shields.io/badge/code%20style-black-000000.svg
[black-link]: https://github.com/psf/black
[conda-badge]: https://img.shields.io/conda/vn/conda-forge/awkward-xaod-bridge
[conda-link]: https://github.com/conda-forge/awkward-xaod-bridge-feedstock
[github-discussions-badge]: https://img.shields.io/static/v1?label=Discussions&message=Ask&color=blue&logo=github
[github-discussions-link]: https://github.com/lukasheinrich/awkward-xaod-bridge/discussions
[gitter-badge]: https://badges.gitter.im/https://github.com/lukasheinrich/awkward-xaod-bridge/community.svg
[gitter-link]: https://gitter.im/https://github.com/lukasheinrich/awkward-xaod-bridge/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge
[pypi-link]: https://pypi.org/project/awkward-xaod-bridge/
[pypi-platforms]: https://img.shields.io/pypi/pyversions/awkward-xaod-bridge
[pypi-version]: https://badge.fury.io/py/awkward-xaod-bridge.svg
[rtd-badge]: https://readthedocs.org/projects/awkward-xaod-bridge/badge/?version=latest
[rtd-link]: https://awkward-xaod-bridge.readthedocs.io/en/latest/?badge=latest
[sk-badge]: https://scikit-hep.org/assets/images/Scikit--HEP-Project-blue.svg

```
python -m pip install -e .[test]
python -m pytest -ra
```

```
import awkward_xaod_bridge as xaodbridge
import awkward as ak
jets = ak.Record({'pt': [1,2,3], 'eta': [4,5,6]})
xaodbridge.calibrate(jets['pt'],jets['eta'])
```