Skip to main content

Python module for dealing with chemical coordinates.

Project description

Chemcoord logo

Latest Release

https://img.shields.io/pypi/v/chemcoord.svg

Package Status

https://img.shields.io/pypi/status/chemcoord.svg

Documentation

Documentation Status

License

https://img.shields.io/pypi/l/chemcoord.svg

Build Status

https://circleci.com/gh/mcocdawc/chemcoord/tree/master.svg?style=shield

Coverage

https://codecov.io/gh/mcocdawc/chemcoord/branch/master/graph/badge.svg

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.

  • It as a python module ;)

Installation guide

A working python 3 installation is required (3.7 <= version <= 3.11 are tested).

It is highly recommended to use this module in combination with Ipython and jupyter.

Unix

There are packaged versions on PyPi and conda-forge.

For the packaged version from PyPi, the following commands have to be executed:

pip install chemcoord

For the packaged version from conda-forge, the following commands have to be executed:

conda install -c conda-forge 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.

Citation and mathematical background

The theory behind chemcoord is described in this paper. If this package is used in a project that leads to a scientific publication, please acknowledge it by citing.

@article{https://doi.org/10.1002/jcc.27029,
    author = {Weser, Oskar and Hein-Janke, Björn and Mata, Ricardo A.},
    title = {Automated handling of complex chemical structures in Z-matrix coordinates—The chemcoord library},
    journal = {Journal of Computational Chemistry},
    volume = {44},
    number = {5},
    pages = {710-726},
    keywords = {analytical gradients, geometry optimization, non-linear constraints, transition state search, Z-matrix},
    doi = {10.1002/jcc.27029},
    year = {2023}
}

My (Oskar Weser) master thesis including a more detailed derivation of implemented equations and the mathematical background can be found here.

Acknowledgement

https://raw.githubusercontent.com/zulip/zulip/982097f0a7fe2ecf46edc8756fc19f2a5c354ad7/static/images/logo/zulip-icon-circle.svg

Zulip is an open-source modern team chat app designed to keep both live and asynchronous conversations organized, that supports the development of chemcoord with a free plan.

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

chemcoord-2.1.2.tar.gz (105.1 kB view details)

Uploaded Source

Built Distribution

chemcoord-2.1.2-py3-none-any.whl (99.8 kB view details)

Uploaded Python 3

File details

Details for the file chemcoord-2.1.2.tar.gz.

File metadata

  • Download URL: chemcoord-2.1.2.tar.gz
  • Upload date:
  • Size: 105.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for chemcoord-2.1.2.tar.gz
Algorithm Hash digest
SHA256 86f7f6bfd0f63c846d74a585c646242eb492d5d8f507a5837df4aebe8aec4289
MD5 767cd2af33247c637127dadc3cc95394
BLAKE2b-256 92ae39c883910837504eaf42720ddad598b7c293bca79cc51308b5f03eb3c6a0

See more details on using hashes here.

File details

Details for the file chemcoord-2.1.2-py3-none-any.whl.

File metadata

  • Download URL: chemcoord-2.1.2-py3-none-any.whl
  • Upload date:
  • Size: 99.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for chemcoord-2.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7998a49a6b02d64ea8c928f583d3aa29de941274f8627ce6679bb6efd6ff4b8f
MD5 8d844ba432f311e82b579f9497c7989e
BLAKE2b-256 a72031bb2f79c2531b95ea0c8525788f040f59e133ad4418354b52c8305f0054

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