Skip to main content

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

Metadata

Release files for octadist 2.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for octadist 2.5.1
File Size Uploaded
octadist-2.5.1.tar.gz 17.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for octadist 2.5.1
File Interpreter ABI Platform
octadist-2.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 49.0 kB

Release files / octadist-2.5.1.tar.gz

Download URL octadist-2.5.1.tar.gz
Size 17.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d5b0dc40dbafd75381db765494d443831da0fbae704bbe8d22397bc53e0fde67
BLAKE2b-256 checksum
How to use checksums
925fdc0469343a9fe0fcac5cb4243f07122f08474e5dc8c888f12d554468207c
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / octadist-2.5.1-py3-none-any.whl

Download URL octadist-2.5.1-py3-none-any.whl
Size 31.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9cbe1f999c57e2a580311ff58b43eeda086484624be5dee57408c148ba54c78e
BLAKE2b-256 checksum
How to use checksums
548c07f418b5d3e5599ed775cca0827c0c9d8643c59df9dd2c60dc1e29675ad8
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

3.1.0

2 release files

3.0.0

2 release files

2.6.1

2 release files

2.6.0

3 release files

2.5.4

2 release files

2.5.3

2 release files

2.5.2

2 release files

This release

2.5.1 This release

2 release files

2.5.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page