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

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

天体物理学 > 天体物理仪器与方法

arXiv:1806.02417 (astro-ph)
[提交于 2018年10月3日]

标题:unyt: Handle, manipulate, and convert data with units in Python

作者:Nathan J. Goldbaum, John A. ZuHone, Matthew J. Turk, Kacper Kowalik, Anna L. Rosen
查看论文《unyt: Handle, manipulate, and convert data with units in Python》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Software that processes real-world data or that models a physical system must have some way of managing units. While simple approaches like the understood convention that all data are in a unit system (such as the MKS SI unit system) do work in practice, they are fraught with possible sources of error both by developers and users of the software. In this paper we present unyt, a Python library based on NumPy and SymPy for handling data that has units. It is designed both to aid quick interactive calculations and to be tightly integrated into a larger Python application or library. We compare unyt with two other Python libraries for handling units, Pint and astropy.units, and find that unyt is faster, has higher test coverage, and has fewer lines of code.
评论: 11 pages, 6 figures. Submitted to the Journal of Open Source Software. The source code is available at https://github.com/yt-project/unyt and the documentation is available at http://unyt.readthedocs.io/en/latest/. Accepted for publication in the Journal of Open Source Software
主题: 天体物理仪器与方法 (astro-ph.IM)
引用方式: arXiv:1806.02417 [astro-ph.IM]
  (或者 arXiv:1806.02417v1 [astro-ph.IM] 对于此版本)
  https://doi.org/10.48550/arXiv.1806.02417
相关 DOI: https://doi.org/10.21105/joss.00809

提交历史

来自:Nathan Goldbaum
[v1] 2018年10月3日 星期三 00:00:00 UTC
全文链接:

访问论文:

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

当前浏览上下文:

astro-ph.IM
< 上一篇   |   下一篇 >
最新 | 近期 | 2018-10
切换浏览方式为:
astro-ph

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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