Skip to main content

A small toolbox for computational solid state physics

Project description

Title

dxutils -- Utils for DepX

This is a set of utilities which started as tools for internal use of our department. At that time it was Department X (10) - of computational materials science. The current name is different but the package name stucked. It turns out that the tools may be os some use for other researchers and can be used in other programs. They are centered around solid state computational physics.

Installation

You can install the package from pypi. It has several dependencies and requires python 3.5 or later.

To install from pypi (better use some virtual environment using e.g.: python3 -m venv venv && . venv/bin/activate):

pip install dxutils 

Usage

The package provides a number of utility functions organized in the library you can use in your python programs and a command line program gen_alamode for generating ALAMODE input files from the DFT structural data. The default format is VASP 5+ POSCAR file but you can use any format which is known to the ASE library used for reading and transforming the data. Get help on 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dxutils-0.5.8.tar.gz (57.6 kB view details)

Uploaded Source

Built Distribution

dxutils-0.5.8-py3-none-any.whl (59.1 kB view details)

Uploaded Python 3

File details

Details for the file dxutils-0.5.8.tar.gz.

File metadata

  • Download URL: dxutils-0.5.8.tar.gz
  • Upload date:
  • Size: 57.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for dxutils-0.5.8.tar.gz
Algorithm Hash digest
SHA256 3a7613fc9d00f8204cb71d4190311f536719e495a18a86f6fcda1edb1d6405b2
MD5 d11f45c4e99c3d59cf44941993c19707
BLAKE2b-256 bcdb501b8e4d1a7c59f1cc413a427954870719d8c104a0642b5baad32b5dbfbc

See more details on using hashes here.

File details

Details for the file dxutils-0.5.8-py3-none-any.whl.

File metadata

  • Download URL: dxutils-0.5.8-py3-none-any.whl
  • Upload date:
  • Size: 59.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for dxutils-0.5.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b5a4f6d7847fb4fbcca932f433767e0965640ba2a81ab82095e7cfe9d143a8ad
MD5 e4f1aed03d5bc94e300f74c809b3f0a7
BLAKE2b-256 00d185a71c6454bb9491795e1d285b279e5027d45491ef4c7c21f4d0d2715b62

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page