Skip to main content

OctaDist: A tool for calculating distortion parameters in coordination complexes.

Project description

Travis-CI Test Python version Python Wheel Code size Repo size

OctaDist

Octahedral distortion calculator: A tool for calculating distortion parameters in coordination complexes. https://octadist.github.io/

molecule

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

Features

OctaDist is designed as a smart tool used for studying the structural distortion in coordinate complexes. With the abilities of OctaDist, you can:

  • identify the type of octahedral coordination complexes.
  • compute octahedral distortion parameters.
  • display 3D molecule and other stuff.
  • implement its functionality in your or other program.

Getting started

All details of OctaDist is available at user manual on the website.

Installing

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

Running the test

Prepare two lists of atomic symbols and atomic coordinates, the latter can be stored in array:

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

coor = [[2.298354000, 5.161785000, 7.971898000],  # <- Metal center atom
        [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]]

Import necessary module for computing the octahedral distortion parameters, called calc:

from octadist import calc

Then calculate all parameters separately, for example:

d_bond = octadist.calc_d_bond(coor)         # Bond distance
d_mean = octadist.calc_d_mean(coor)         # Mean distance
zeta = octadist.calc_zeta(coor)             # Zeta
delta = octadist.calc_delta(coor)           # Delta
angle = octadist.calc_bond_angle(coor)      # Bond angle
sigma = octadist.calc_sigma(coor)           # Sigma
theta = octadist.calc_theta(atom, coor)     # Theta

or calculate them at once:

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

Then print all computed parameters:

Computed parameters
-------------------
Zeta  = 0.228072561
Delta = 0.000476251
Sigma = 47.92652837
Theta = 122.6889727

Example scripts and coordinate files are available at example-py and at example-input.

Citation

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

OctaDist: A tool for calculating distortion parameters in coordination complexes.
https://octadist.github.io

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.2.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

octadist-2.5.2-py3-none-any.whl (50.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: octadist-2.5.2.tar.gz
  • Upload date:
  • Size: 19.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.2.tar.gz
Algorithm Hash digest
SHA256 45d117eb5dd1a79cb912fb989a4ee7856173d00e23bbcd0030ce88d9bb96dafe
MD5 52db4a0a10669ba30ea0df7e66518173
BLAKE2b-256 d081732581f9d67a23ea089fe75a827087e6cc14b6724d6675d84688626b871c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: octadist-2.5.2-py3-none-any.whl
  • Upload date:
  • Size: 50.8 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 76909956b1e66574f6ae867e5753762b48a718f4df8fb6e52a2305e0bb47c538
MD5 5d7645d9a5dd671db521c0d685a73439
BLAKE2b-256 379d7ed723cf1e612e571759139434d3ee8aa03b749d65c662815cd47f4df8d0

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