arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.18399cond-mat.mtrl-sciphysics.comp-ph
收藏

akaitools: 用于解析和分析AkaiKKR电子结构计算的Python包

akaitools: A Python package for parsing and analyzing AkaiKKR electronic structure calculations

Texas A&M University(德克萨斯农工大学)

Doğuhan Sarıtürk, Raymundo Arróyave

AI总结:

针对AkaiKKR输出无结构化的问题,开发Python包akaitools,解析SCF、态密度和Bloch谱函数为类型注解的NumPy对象,支持单位转换、Pandas导出和绘图,并提供命令行接口与输入文件生成器。

摘要:

Korringa-Kohn-Rostoker (KKR) Green函数方法是一种第一性原理电子结构方法,通过相干势近似(CPA)特别适用于替代无序合金。AkaiKKR是一个广泛使用的实现,以高效处理金属体系及其磁性质而闻名。然而,其输出是非结构化的纯文本,没有程序化接口,数据提取完全由用户完成,使得系统或高通量研究不切实际。akaitools是一个Python包,将AkaiKKR输出文件解析为结构化的、类型注解的Python对象。该包涵盖三种输出类型:自洽场(SCF)结果,捕获收敛历史和每个原子的电子与磁性质;每个CPA组分的自旋分辨、轨道投影态密度;以及用户定义的k点路径上的Bloch谱函数。结果以不可变数据类形式返回,由NumPy数组支持。能量量可以以Rydberg和电子伏特两种单位提供,结果可以导出到Pandas DataFrame。内置绘图模块生成态密度曲线和SCF收敛的Matplotlib图形。命令行界面提供文件摘要和JSON导出,无需任何Python脚本。该包还包括程序化输入文件生成器,因此从输入准备到输出分析的完整计算流程可以在Python中运行。

英文摘要:

The Korringa-Kohn-Rostoker (KKR) Green's function method is a first-principles electronic structure approach well suited to substitutionally disordered alloys through the Coherent Potential Approximation (CPA). AkaiKKR is a widely used implementation, known for efficient treatment of metallic systems and their magnetic properties. Its output, however, is unstructured plain text with no programmatic interface, leaving data extraction entirely to the user and making systematic or high-throughput studies impractical. akaitools is a Python package that parses AkaiKKR output files into structured, type-annotated Python objects. The package covers three output types: self-consistent field (SCF) results, which capture convergence history and per-atom electronic and magnetic properties; spin-resolved, orbital projected density of states for each CPA component; and Bloch spectral functions on a user-defined k-point path. Results come back as immutable dataclasses backed by NumPy arrays. Energy quantities are available in both Rydbergs and electronvolts, and results can be exported to Pandas DataFrames. A built-in plotting module produces Matplotlib figures for DOS curves and SCF convergence. A command-line interface provides file summaries and JSON export without any Python scripting. The package also includes a programmatic input file generator, so full calculation pipelines from input preparation to output analysis can be run in Python.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑