Skip to main content

Octahedral distortion calculator for coordination complexes

Project description

Travis-CI Test Code size Repo size

OctaDist

Octahedral distortion calculator: A program for determining the structural distortion of the octahedral complexes. https://octadist.github.io/

molecule

This program is written entirely in Python 3 and tested on PyCharm (Community Edition).

Installation

  • Install the latest version: pip install octadist
  • Upgrade to the latest version: pip install --upgrade octadist
  • Upgrade/downgrade to a specific version: pip install --upgrade octadist==2.5.0

Sample usage

Example scripts are available at here.

First of all, you have to import necessary modules for computing the octahedral distortion parameters, called calc:

from octadist import calc

Prepare list (or array) for atomic labels and coordinates:

atom = ['Fe', 'O', 'O', 'N', 'N', 'N', 'N']

coor = [[2.298354000, 5.161785000, 7.971898000],
        [1.885657000, 4.804777000, 6.183726000],
        [1.747515000, 6.960963000, 7.932784000],
        [4.094380000, 5.807257000, 7.588689000],
        [0.539005000, 4.482809000, 8.460004000],
        [2.812425000, 3.266553000, 8.131637000],
        [2.886404000, 5.392925000, 9.848966000]]

or you can open input file and extract the octahedral structure from input metal complex using a module called coord:

from octadist import coord, calc

For example, input file full\path\of\your\input\file\Multiple-metals.xyz (other example input files are available at here):

file = r"full\path\of\your\input\file\Multiple-metals.xyz"

atom, coor = coord.extract_octa(file)

Then calculate all octahedral parameters

d_mean, zeta, delta, sigma, theta = calc.calc_all(atom, coor)

and print all computed parameters:

All computed parameters
-----------------------
Zeta  = 0.22807256171728651
Delta = 0.0004762517834704151
Sigma = 47.926528379270124
Theta = 122.688972774546

Citation

Please cite this project when you have used OctaDist for scientific publication.

Bug report

If you found issues in OctaDist, please report us at here.

Project team

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

octadist-2.5.1.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

octadist-2.5.1-py3-none-any.whl (31.4 kB view details)

Uploaded Python 3

File details

Details for the file octadist-2.5.1.tar.gz.

File metadata

  • Download URL: octadist-2.5.1.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for octadist-2.5.1.tar.gz
Algorithm Hash digest
SHA256 d5b0dc40dbafd75381db765494d443831da0fbae704bbe8d22397bc53e0fde67
MD5 49e6dd478a935cdf9bb9a0898d31705d
BLAKE2b-256 925fdc0469343a9fe0fcac5cb4243f07122f08474e5dc8c888f12d554468207c

See more details on using hashes here.

File details

Details for the file octadist-2.5.1-py3-none-any.whl.

File metadata

  • Download URL: octadist-2.5.1-py3-none-any.whl
  • Upload date:
  • Size: 31.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for octadist-2.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9cbe1f999c57e2a580311ff58b43eeda086484624be5dee57408c148ba54c78e
MD5 f0af1134b1442186cc4424c78117055e
BLAKE2b-256 548c07f418b5d3e5599ed775cca0827c0c9d8643c59df9dd2c60dc1e29675ad8

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