Skip to main content

A collection of readers for CASTEP binary outputs

Project description

castepxbin

Overview

A collection of readers for binary output from CASTEP. At the moment, there is only a reader for pdos_dos file available. This file contains the weights of the eigenvalues on each projected orbitals, which can be used to constructed projected density of states.

The code for reading pdos_bin files can be used as an example for implementing readers of other files including:

  • ome_bin
  • dome_bin
  • cst_esp
  • elf

Installation

This package can be install using pip

pip install castepxbin

To install extra dependencies may be needed for testing:

pip install castepxbin[testing]

The two main dependencies are numpy and scipy. The optional pymatgen dependency is used for reordering orbitals. Please note that the consistency of these labels for f orbitals has not been checked.

Acknowledgement

The structure of the binary pdos_bin file is inferred from the code snippet in the documentation of the open source OptaDOS packages.

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

castepxbin-0.1.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

castepxbin-0.1.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file castepxbin-0.1.0.tar.gz.

File metadata

  • Download URL: castepxbin-0.1.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200325 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.2

File hashes

Hashes for castepxbin-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a3eeda4b059dba473ae503d1ea485fecc6e70c634ec904885819826d8a5c8190
MD5 88a563ef9fccc1bc112580ff0df663bd
BLAKE2b-256 e7230d59533df5bece1e82d966c30e2ee85763514c523032fff936042a11e5e6

See more details on using hashes here.

File details

Details for the file castepxbin-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: castepxbin-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200325 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.2

File hashes

Hashes for castepxbin-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58c6b050f2262e7e0a437ea7c69017d55ce52ab36b98ba57df38cdf39c90f94e
MD5 1049e41965b50aeccef8d732660bf467
BLAKE2b-256 462b692b0d4f2746cef0f9681a5b7270760f983f5afb9389b60f9f1009949e76

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