OctaDist: A tool for calculating distortion parameters in coordination complexes.
Project description
OctaDist
Octahedral distortion calculator: A tool for calculating distortion parameters in coordination complexes. https://octadist.github.io/
Standard abilities
OctaDist is computer software for inorganic chemistry and crystallography program. OctaDist can be used for studying the structural distortion in coordination complexes. With the abilities of OctaDist, you can:
- analyze the structure and conformation of coordination complexes.
- compute the octahedral distortion parameters.
- explore tilting distortion in perovskite and metal-organic framework.
- display 3D molecule and other graphical analysis.
- upgrade your and other program with OctaDist abilities.
- deal with the code directly via an interactive scripting code.
Development and Release
OctaDist is written entirely in Python 3 binding to Tkinter GUI toolkit. It is cross-platform program which can work on multiple operating systems. The stable version and development build of OctaDist are released at here. A standalone executable for graphical user interface (GUI) and source code for command line interface (CLI) are available for as follows:
Platform | Description | Status |
---|---|---|
Windows | Standalone executable | |
Linux | Support for GUI and CLI | |
macOS | Support for GUI and CLI | |
PyPI library | ||
Anaconda cloud | ||
Nightly build | Development build |
Branch:
- Master stable: https://github.com/OctaDist/OctaDist/tree/master
- Nightly dev: https://github.com/OctaDist/OctaDist/tree/nightly-build
Git Clone
git clone https://github.com/OctaDist/OctaDist.git
git checkout nightly-build
git pull origin nightly-build
Documents
User manual : https://octadist.github.io/manual.html.
Reference manual :
Version | Status | Docs |
---|---|---|
Stable | HTML / PDF / Epub | |
Dev Build | HTML / PDF / Epub |
Download and Install
If you use Windows, we strongly suggest you download a standalone executable:
Click Here to Download OctaDist-2.6.0-Win-x86-64.exe
If you use Linux or macOS and already have Python 3 installed on the system,
the easiest way to install OctaDist is to use pip
.
pip install octadist
or use conda
for those who have Anaconda:
conda install -c rangsiman octadist
Starting OctaDist
Graphical User Interface (GUI)
To start GUI program:
octadist
Download a standalone executable to your system.
OctaDist GUI | XYZ coordinates | Computed distortion parameters |
Command Line Interface (CLI)
To start program command line (with help):
octadist_cli
To compute parameters:
octadist_cli -i INPUT.xyz
Running the tests
Example 1: OctaDist as a package
import octadist as oc
# Prepare list of atomic coordinates of octahedral structure:
atom = ['Fe', 'O', 'O', 'N', 'N', 'N', 'N']
coord = [[2.298354000, 5.161785000, 7.971898000], # <- Metal 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]]
dist = oc.CalcDistortion(coord)
zeta = dist.zeta # 0.228072561
delta = dist.delta # 0.000476251
sigma = dist.sigma # 47.92652837
theta = dist.theta # 122.6889727
Example 2: Display 3D structure of molecule
import octadist as oc
file = r"../example-input/Multiple-metals.xyz"
atom_full, coord_full = oc.molecule.extract_coord(file)
my_plot = oc.draw.DrawComplex(atom=atom_full, coord=coord_full)
my_plot.add_atom()
my_plot.add_bond()
my_plot.add_legend()
my_plot.save_img()
my_plot.show_plot()
# Figure will be saved as Complex_saved_by_OctaDist.png by default.
Other example scripts and octahedral complexes are available at example-py and example-input.
Citation
Please cite this project when you use 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 it to us at here.
Project team
- Rangsiman Ketkaew (Thammasat University, Thailand)
- E-mail: rangsiman1993@gmail.com
- E-mail: rangsiman1993@gmail.com
- Yuthana Tantirungrotechai (Thammasat University, Thailand)
- E-mail: yt203y@gmail.com
- David J. Harding (Walailak University, Thailand)
- E-mail: hdavid@mail.wu.ac.th
- Phimphaka Harding (Walailak University, Thailand)
- E-mail: kphimpha@mail.wu.ac.th
- Mathieu Marchivie (University of Bordeaux, France)
- E-mail: mathieu.marchivie@icmcb.cnrs.fr
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file octadist-2.6.0.tar.gz
.
File metadata
- Download URL: octadist-2.6.0.tar.gz
- Upload date:
- Size: 58.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ff8c6db195aa3cc5e3e87e2d75bacf55cd0d1d12d278270f85f84bbffd96633 |
|
MD5 | c800330abed2fd833bd5f02065f814a9 |
|
BLAKE2b-256 | af796ea4822cae5e643af83e8c0d9dc034b5939eeb5340fc40ed3c67d4e02a43 |
File details
Details for the file octadist-2.6.0-py3.7.egg
.
File metadata
- Download URL: octadist-2.6.0-py3.7.egg
- Upload date:
- Size: 68.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1770fafc97f92979535bfda967def1ac939965d72a95e556f44dd97d7c8ec35a |
|
MD5 | c87846be4a631cf76ecf72b683f44696 |
|
BLAKE2b-256 | 9d6acfb35675bab232d25342177c9b99c3ec2b5f974eb0bf5c8fc8060acd43c6 |
File details
Details for the file octadist-2.6.0-py3-none-any.whl
.
File metadata
- Download URL: octadist-2.6.0-py3-none-any.whl
- Upload date:
- Size: 81.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e75c91ac35819a4c539bd0ee343d43894630b81d25b17c4f6cd6239139a0cb01 |
|
MD5 | ba0b9f4bd72c43d7df35ad3c722aa41e |
|
BLAKE2b-256 | b1e0ddceb942b94792c308a27ae02a064e1ee33eee6930b86d0589ca2c2868d1 |