跳转到主要内容

计算固态物理的小型工具箱

项目描述

标题

dxutils -- DepX的实用工具

这是一个最初作为我们部门内部工具集的集合。当时是X部门(10) - 计算材料科学部门。现在的名称不同,但包名保留了下来。事实证明,这些工具可能对其他研究人员有用,也可以用于其他程序。它们主要集中在固态计算物理学上。

安装

您可以从PyPI安装此包。它有几个依赖项,需要Python 3.5或更高版本。

从PyPI安装(最好使用例如的虚拟环境:python3 -m venv venv && . venv/bin/activate

pip install dxutils 

用法

该包提供了一系列组织在库中的实用函数,您可以在Python程序中使用,以及一个名为gen_alamode的命令行程序,用于从DFT结构数据生成ALAMODE输入文件。默认格式是VASP 5+ POSCAR文件,但您可以使用ASE库已知的任何格式来读取和转换数据。有关gen_alamode的帮助信息。

$ gen_alamode --help
Usage: gen_alamode [OPTIONS] [ACTION]

  Generates gen/opt/phon/dos file depending on the ACTION (default: opt). The
  default values of parameters are enclosed in parethesis.

Options:
  -o, --order INTEGER  Approximation order (1)
  -p, --prefix TEXT    Prefix used in calculations (CRYST)
  -n, --name PATH      Supercell POSCAR file (SPOSCAR)
  -s, --scale FLOAT    Scale of the unit cell (1.0)
  -e, --evec INTEGER   Print eigenvectors (1)
  -m, --msd INTEGER    Print mean squere displacement (1)
  --c1 TEXT            First order interaction cutoff (None)
  --c2 TEXT            Second order interaction cutoff (10)
  --c3 TEXT            Third order interaction cutoff (10)
  -k, --kpath PATH     File with reciprocal space path
  -g, --grid TEXT      k-grid for dos calculation (10x10x10)
  -d, --ndat INTEGER   Number of data points used in fitting (All)
  -f, --dfset TEXT     Name of the DFSET file (DFSET)
  -t, --tmax INTEGER   Max temperature (1000)
  -c, --charge TEXT    Name of the Born effective charges file (<prefix>.born)
  -b, --born INTEGER   If non-zero use info from <prefix>.born as Born
                       effective charges. Use <born> = [1,2,3] value to select
                       method of non-analytic correction.
  --help               Show this message and exit.

项目详情


下载文件

下载适用于您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源代码分发

dxutils-0.5.13.tar.gz (44.3 kB 查看哈希值)

上传时间: 源代码

构建分发

dxutils-0.5.13-py3-none-any.whl (59.3 kB 查看哈希值)

上传时间: Python 3

支持