Python module for dealing with chemical coordinates.
Project description
Latest Release |
|
Package Status |
|
Documentation |
|
License |
|
Build Status |
|
Coverage |
Website
The project’s website with documentation is: http://chemcoord.readthedocs.org/
Features
Molecules are reliably transformed between cartesian space and non redundant internal coordinates (Zmatrices). Dummy atoms are inserted and removed automatically on the fly if necessary.
The created Zmatrix is not only a structure expressed in internal coordinates, it is a “chemical” Zmatrix. “Chemical” Zmatrix means, that e.g. distances are along bonds or dihedrals are defined as they are drawn in chemical textbooks (Newman projections).
Analytical gradients for the transformations between the different coordinate systems are implemented.
Performance intensive functions/methods are implemented with Fortran/C like speed using numba.
Geometries may be defined with symbolic expressions using sympy.
Built on top of pandas with very similar syntax. This allows for example distinct label or row based indexing.
It derived from my own work and I heavily use it during the day. So all functions are tested and tailored around the work flow in theoretical chemistry.
The classes are safe to inherit from and can easily be customized.
Installation guide
A working python 3 installation is required (>=3.7 are possible).
It is highly recommended to use this module in combination with Ipython and jupyter. They come shipped by default with the anaconda3 installer
Unix
For the packaged versions, the following commands have to be executed in the terminal:
conda install -c mcocdawc chemcoord
or
pip install chemcoord
For the up to date development version (experimental):
git clone https://github.com/mcocdawc/chemcoord.git cd chemcoord pip install .
Windows
Neither installation nor running the module are tested on windows. To the best of my knowledge it should work there as well. Just use the same steps as for UNIX.
Changelog
The changelog can be found here.
Citation and mathematical background
If chemcoord is used in a project that leads to a scientific publication, please acknowledge this fact by citing this preprint.
My (Oskar Weser) master thesis including the derivation of implemented equations and the mathematical background can be found here.
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 Distribution
Hashes for chemcoord-2.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c10a8bc544f659e1dc02df2eb011aa09310420a350f4e586f3b3720df5b2ea8 |
|
MD5 | 744b61bfb3825dc09e396c9a12e7cf70 |
|
BLAKE2b-256 | 39ba556b3dcd16077e0f17e6c265915de12db8d597f14cbf29bbef73e07f3763 |