跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

物理学 > 高能物理 - 实验

arXiv:2202.03911 (hep-ex)
[提交于 2023年2月21日]

标题:An array-oriented Python interface for FastJet

作者:Aryan Roy, Jim Pivarski, Chad Wells Freer
查看论文《An array-oriented Python interface for FastJet》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Analysis on HEP data is an iterative process in which the results of one step often inform the next. In an exploratory analysis, it is common to perform one computation on a collection of events, then view the results (often with histograms) to decide what to try next. Awkward Array is a Scikit-HEP Python package that enables data analysis with array-at-a-time operations to implement cuts as slices, combinatorics as composable functions, etc. However, most C++ HEP libraries, such as FastJet, have an imperative, one-particle-at-a-time interface, which would be inefficient in Python and goes against the grain of the array-at-a-time logic of scientific Python. Therefore, we developed fastjet, a pip-installable Python package that provides FastJet C++ binaries, the classic (particle-at-a-time) Python interface, and the new array-oriented interface for use with Awkward Array. The new interface streamlines interoperability with scientific Python software beyond HEP, such as machine learning. In one case, adopting this library along with other array-oriented tools accelerated HEP analysis code by a factor of 20. It was designed to be easily integrated with libraries in the Scikit-HEP ecosystem, including Uproot (file I/O), hist (histogramming), Vector (Lorentz vectors), and Coffea (high-level glue). We discuss the design of the fastjet Python library, integrating the classic interface with the array oriented interface and with the Vector library for Lorentz vector operations. The new interface was developed as open source.
评论: 5 pages, 2 figures, submitted to ACAT 2021 proceedings
主题: 高能物理 - 实验 (hep-ex); 程序设计语言 (cs.PL); 计算物理 (physics.comp-ph); 数据分析、统计与概率 (physics.data-an)
引用方式: arXiv:2202.03911 [hep-ex]
  (或者 arXiv:2202.03911v1 [hep-ex] 对于此版本)
  https://doi.org/10.48550/arXiv.2202.03911
期刊参考: J. Phys.: Conf. Ser. 2438 012011 (2023)
相关 DOI: https://doi.org/10.1088/1742-6596/2438/1/012011

提交历史

来自:Jim Pivarski
[v1] 2023年2月21日 星期二 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

hep-ex
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-02
切换浏览方式为:
cs.PL
physics.comp-ph
physics.data-an

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站