ENDFtk: A robust tool for reading and writing ENDF-formatted nuclear data
收藏资源简介:
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).
ENDFtk是一款新近开发的C++与Python接口,用于交互操作ENDF-6格式核数据文件。该接口兼具健壮性与完整性,可读写当前收录于《ENDF-6格式手册》中的全部格式,同时兼容NJOY处理代码所使用的部分非ENDF格式。它既提供了与《ENDF-6格式手册》命名规则保持一致的接口,也配备了采用人类可读属性名的等效接口。该工具兼具健壮性与强大功能,既足以支撑核数据专家开发复杂应用程序,也足够简单易用,可让非专业人员检索并处理评估核数据。ENDFtk支持在大规模代码项目或简易Python脚本中轻松查询与处理核数据。本文将对该接口进行简要概述,并提供详实示例,演示简易数据绘图、复杂数据交互操作以及将新数据写入文件等场景。ENDFtk为开源项目,可通过GitHub(https://github.com/njoy/ENDFtk)下载获取。



