ENDFtk: A robust tool for reading and writing ENDF-formatted nuclear data

IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Computer Physics Communications Pub Date : 2024-05-31 DOI:10.1016/j.cpc.2024.109245
W. Haeck, N. Gibson, P. Talou
{"title":"ENDFtk: A robust tool for reading and writing ENDF-formatted nuclear data","authors":"W. Haeck,&nbsp;N. Gibson,&nbsp;P. Talou","doi":"10.1016/j.cpc.2024.109245","DOIUrl":null,"url":null,"abstract":"<div><p><span>ENDFtk</span> is a recently developed C++ and Python interface to interact with ENDF-6 formatted nuclear data files. It provides a robust and complete interface, allowing the reading and writing of all formats currently part of the ENDF-6 formats manual, as well as some non-ENDF formats used by the NJOY processing code. It provides an interface that mimics the names in the ENDF-6 formats manual as well as an equivalent interface using human-readable attribute names. It is robust and powerful enogh for nuclear data experts to develop complex applications, while also simple enough to be used non-experts to retrieve and manipulate evaluated nuclear data. <span>ENDFtk</span> offers the ability to easily interrogate and manipulate data either in large-scale code projects or in simple Python scripts. In this paper, a brief overview of the interface is given, as well as more substantial examples demonstrating plotting simple data, interacting with more complex data, and writing new data to files. <span>ENDFtk</span> is open source and available for download via GitHub (<span>https://github.com/njoy/ENDFtk</span><svg><path></path></svg>).</p></div><div><h3>Program summary</h3><p><em>Program title:</em> <span>ENDFtk</span> 1.0</p><p><em>CPC Library link to program files:</em> <span>https://doi.org/10.17632/9p4kxc2cvd.1</span><svg><path></path></svg></p><p><em>Developer's repository link:</em> <span>https://github.com/njoy/ENDFtk</span><svg><path></path></svg></p><p><em>Licensing provisions:</em> BSD-3 clause</p><p><em>Programming language:</em> C++ and Python</p><p><em>External routines/libraries:</em> pybind11, ranges-v3, spdlog</p><p><em>Nature of problem:</em> Provide an interface to read, write and manipulate nuclear data files using the ENDF-6 format. This interface can be integrated into other libraries requiring access to nuclear data, or be used directly using the Python interface.</p><p><em>Solution method:</em> Library of C++ routines, with their Python bindings, to be integrated in higher-level codes and scripts</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":null,"pages":null},"PeriodicalIF":7.2000,"publicationDate":"2024-05-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Physics Communications","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0010465524001681","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0

Abstract

ENDFtk is a recently developed C++ and Python interface to interact with ENDF-6 formatted nuclear data files. It provides a robust and complete interface, allowing the reading and writing of all formats currently part of the ENDF-6 formats manual, as well as some non-ENDF formats used by the NJOY processing code. It provides an interface that mimics the names in the ENDF-6 formats manual as well as an equivalent interface using human-readable attribute names. It is robust and powerful enogh for nuclear data experts to develop complex applications, while also simple enough to be used non-experts to retrieve and manipulate evaluated nuclear data. ENDFtk offers the ability to easily interrogate and manipulate data either in large-scale code projects or in simple Python scripts. In this paper, a brief overview of the interface is given, as well as more substantial examples demonstrating plotting simple data, interacting with more complex data, and writing new data to files. ENDFtk is open source and available for download via GitHub (https://github.com/njoy/ENDFtk).

Program summary

Program title: ENDFtk 1.0

CPC Library link to program files: https://doi.org/10.17632/9p4kxc2cvd.1

Developer's repository link: https://github.com/njoy/ENDFtk

Licensing provisions: BSD-3 clause

Programming language: C++ and Python

External routines/libraries: pybind11, ranges-v3, spdlog

Nature of problem: Provide an interface to read, write and manipulate nuclear data files using the ENDF-6 format. This interface can be integrated into other libraries requiring access to nuclear data, or be used directly using the Python interface.

Solution method: Library of C++ routines, with their Python bindings, to be integrated in higher-level codes and scripts

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
ENDFtk:读写ENDF格式核数据的强大工具
ENDFtk是最近开发的C++和Python界面,用于与ENDF-6格式的核数据文件交互。它提供了一个强大而完整的界面,允许读写目前属于ENDF-6 格式手册一部分的所有格式,以及 NJOY 处理代码使用的一些非 ENDF 格式。它提供了一个模仿ENDF-6 格式手册中名称的界面,以及一个使用人类可读属性名称的等效界面。ENDFtk功能强大,适合核数据专家开发复杂的应用程序,同时也足够简单,可供非专业人员检索和处理已评估的核数据。无论是在大型代码项目中还是在简单的 Python 脚本中,ENDFtk 都能提供轻松查询和操作数据的能力。本文简要介绍了ENDFtk的界面,并通过大量实例演示了如何绘制简单数据、与更复杂的数据交互以及向文件中写入新数据。ENDFtk是开源软件,可通过GitHub下载(https://github.com/njoy/ENDFtk)。程序摘要程序标题:ENDFtk 1.0CPC 库与程序文件的链接:https://doi.org/10.17632/9p4kxc2cvd.1Developer's repository 链接:https://github.com/njoy/ENDFtkLicensing 规定:BSD-3 条款编程语言:C++ 和 PythonC++ 和 Python外部例程/库:pybind11, ranges-v3, spdlog问题性质:提供使用ENDF-6格式读写和操作核数据文件的接口。该接口可集成到其他需要访问核数据的库中,或直接使用 Python 接口:C++ 例程库及其 Python 绑定,可集成到高级代码和脚本中
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Computer Physics Communications
Computer Physics Communications 物理-计算机:跨学科应用
CiteScore
12.10
自引率
3.20%
发文量
287
审稿时长
5.3 months
期刊介绍: The focus of CPC is on contemporary computational methods and techniques and their implementation, the effectiveness of which will normally be evidenced by the author(s) within the context of a substantive problem in physics. Within this setting CPC publishes two types of paper. Computer Programs in Physics (CPiP) These papers describe significant computer programs to be archived in the CPC Program Library which is held in the Mendeley Data repository. The submitted software must be covered by an approved open source licence. Papers and associated computer programs that address a problem of contemporary interest in physics that cannot be solved by current software are particularly encouraged. Computational Physics Papers (CP) These are research papers in, but are not limited to, the following themes across computational physics and related disciplines. mathematical and numerical methods and algorithms; computational models including those associated with the design, control and analysis of experiments; and algebraic computation. Each will normally include software implementation and performance details. The software implementation should, ideally, be available via GitHub, Zenodo or an institutional repository.In addition, research papers on the impact of advanced computer architecture and special purpose computers on computing in the physical sciences and software topics related to, and of importance in, the physical sciences may be considered.
期刊最新文献
A novel model for direct numerical simulation of suspension dynamics with arbitrarily shaped convex particles Editorial Board Study α decay and proton emission based on data-driven symbolic regression Efficient determination of free energies of non-ideal solid solutions via hybrid Monte Carlo simulations 1D drift-kinetic numerical model based on semi-implicit particle-in-cell method
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1