11[ ![ Travis-CI Test] (https://img.shields.io/travis/OctaDist/OctaDist-PyPI/master.svg
22)] ( https://travis-ci.org/OctaDist/OctaDist-PyPI )
3- [ ![ Github release ] (https://img.shields.io/github/release/OctaDist/OctaDist-PyPI .svg
4- ) ] ( https://github.com/OctaDist/OctaDist/releases )
5- [ ![ Code size] ( https://img.shields.io/github/languages/code-size/OctaDist/OctaDist-PyPI.svg )] ( https://github.com/OctaDist/OctaDist-PyPI )
6- [ ![ Repo size] ( https://img.shields.io/github/repo-size/OctaDist/OctaDist-PyPI.svg )] ( https://github.com/OctaDist/OctaDist-PyPI )
3+ ![ Python version ] ( https://img.shields.io/pypi/pyversions/octadist .svg )
4+ ![ Python Wheel ] ( https://img.shields.io/pypi/wheel/octadist.svg )
5+ ![ Code size] ( https://img.shields.io/github/languages/code-size/OctaDist/OctaDist-PyPI.svg )
6+ ![ Repo size] ( https://img.shields.io/github/repo-size/OctaDist/OctaDist-PyPI.svg )
77
8- ## OctaDist-PyPI
9- Octahedral distortion calculator: A program for determining the structural distortion of the octahedral complexes. https://octadist.github.io/
8+ ## OctaDist
9+
10+ Octahedral distortion calculator:
11+ A tool for calculating distortion parameters in coordination complexes.
12+ https://octadist.github.io/
1013
1114<p align =" center " >
12- <img alt =" molecule " src =" https://raw.githubusercontent.com/OctaDist/OctaDist/master/images/molecule.png " align =middle width =" 200pt " />
15+ <img alt="molecule"
16+ src="https://raw.githubusercontent.com/OctaDist/OctaDist-PyPI/master/images/molecule.png "
17+ align=middle
18+ width="200pt" />
1319<p />
1420
1521This program is written entirely in Python 3 and tested on PyCharm (Community Edition).
1622
17- ## Installation
18- - Install the latest version: ` pip install octadist `
19- - Upgrade to the latest version: ` pip install --upgrade octadist `
20- - Upgrade/downgrade to a specific version: ` pip install --upgrade octadist==2.5.0 `
23+ ## Features
2124
22- ## Sample usage
23- Example scripts are available at [ here ] ( https://github.com/OctaDist/OctaDist-PyPI/tree/master/example-py ) .
25+ OctaDist is designed as a smart tool used for studying the structural distortion in coordinate complexes.
26+ With the abilities of OctaDist, you can:
2427
25- First of all, you have to import necessary modules for computing the octahedral distortion parameters, called ` calc ` :
28+ - identify the type of octahedral coordination complexes.
29+ - compute octahedral distortion parameters.
30+ - display 3D molecule and other stuff.
31+ - implement its functionality in your or other program.
2632
27- ```
28- from octadist import calc
29- ```
3033
31- Prepare list (or array) for atomic labels and coordinates:
34+ ## Getting started
35+
36+ All details of OctaDist is available at [ user manual] ( https://octadist.github.io/manual.html ) on the website.
37+
38+
39+ ## Installing
40+
41+ - Install the latest version:
42+ ```
43+ pip install octadist
44+ ```
45+ - Upgrade/downgrade to a specific version:
46+ ```
47+ pip install --upgrade octadist==2.5.1
48+ ```
49+
50+ ## Running the test
51+
52+ Prepare two lists of atomic symbols and atomic coordinates, the latter can be stored in array:
3253
3354```
3455atom = ['Fe', 'O', 'O', 'N', 'N', 'N', 'N']
3556
36- coor = [[2.298354000, 5.161785000, 7.971898000],
57+ coor = [[2.298354000, 5.161785000, 7.971898000], # <- Metal center atom
3758 [1.885657000, 4.804777000, 6.183726000],
3859 [1.747515000, 6.960963000, 7.932784000],
3960 [4.094380000, 5.807257000, 7.588689000],
@@ -42,50 +63,60 @@ coor = [[2.298354000, 5.161785000, 7.971898000],
4263 [2.886404000, 5.392925000, 9.848966000]]
4364```
4465
45- or you can open input file and extract the octahedral structure from input metal complex using a module called ` coord ` :
66+ Import necessary module for computing the octahedral distortion parameters, called ` calc ` :
4667
4768```
48- from octadist import coord, calc
69+ from octadist import calc
4970```
5071
51- For example, input file ` full\path\of\your\input\file\Multiple-metals.xyz `
52- (other example input files are available at [ here] ( https://github.com/OctaDist/OctaDist-PyPI/tree/master/example-input ) ):
72+ Then calculate all parameters separately, for example:
5373
5474```
55- file = r"full\path\of\your\input\file\Multiple-metals.xyz"
56-
57- atom, coor = coord.extract_octa(file)
75+ d_bond = octadist.calc_d_bond(coor) # Bond distance
76+ d_mean = octadist.calc_d_mean(coor) # Mean distance
77+ zeta = octadist.calc_zeta(coor) # Zeta
78+ delta = octadist.calc_delta(coor) # Delta
79+ angle = octadist.calc_bond_angle(coor) # Bond angle
80+ sigma = octadist.calc_sigma(coor) # Sigma
81+ theta = octadist.calc_theta(atom, coor) # Theta
5882```
5983
60- Then calculate all octahedral parameters
84+ or calculate them at once:
6185
6286```
63- d_mean, zeta, delta, sigma, theta = calc.calc_all(atom, coor)
87+ zeta, delta, sigma, theta = calc.calc_all(coor)
6488```
6589
66- and print all computed parameters:
90+ Then print all computed parameters:
6791
6892```
69- All computed parameters
70- -----------------------
71- Zeta = 0.22807256171728651
72- Delta = 0.0004762517834704151
73- Sigma = 47.926528379270124
74- Theta = 122.688972774546
93+ Computed parameters
94+ -------------------
95+ Zeta = 0.228072561
96+ Delta = 0.000476251
97+ Sigma = 47.92652837
98+ Theta = 122.6889727
7599```
76100
77- Please cite this project when you use OctaDist for scientific publication.
101+ Example scripts and coordinate files are available at
102+ [ example-py] ( https://github.com/OctaDist/OctaDist-PyPI/tree/master/example-py ) and at
103+ [ example-input] ( https://github.com/OctaDist/OctaDist-PyPI/tree/master/example-input ) .
104+
105+ ## Citation
106+
107+ Please cite this project when you have used OctaDist for scientific publication.
78108
79109```
80- OctaDist - A program for determining the structural distortion of the octahedral complexes.
110+ OctaDist: A tool for calculating distortion parameters in coordination complexes.
81111https://octadist.github.io
82112```
83113
84-
85114## Bug report
115+
86116If you found issues in OctaDist, please report us at [ here] ( https://github.com/OctaDist/OctaDist/issues ) .
87117
88118## Project team
119+
89120- [ Rangsiman Ketkaew] ( https://sites.google.com/site/rangsiman1993 ) (Thammasat University) <br />
90121 - E-mail: rangsiman1993@gmail.com <br />
91122- [ Yuthana Tantirungrotechai] ( https://sites.google.com/site/compchem403/people/faculty/yuthana ) (Thammasat University)
0 commit comments