Utilities for computational chemistry.
Project description
CompChemUtils is a set of tools for computational chemistry workflows.
Install ccu
ccu requires: Python 3.10+ or PyPy3.
Run the following command in your command line:
pip install comp-chem-utils
Check that you’ve installed the correct version:
$ ccu --version
0.0.6
You can also install the in-development version with:
pip install git+ssh://git@gitlab.com/ugognw/python-comp-chem-utils.git@development
Usage
Determine the symmetry of a water molecule
>>> from ase.build import molecule
>>> from ccu.structure.axisfinder import find_secondary_axis
>>> from ccu.structure.symmetry import Rotation, check_symmetry
>>> h2o = molecule('H2O')
>>> axis = find_secondary_axis(h2o)
>>> r = Rotation(180, axis)
>>> check_symmetry(r, h2o)
True
Retrieve reaction intermediates for the two-electron CO2 reduction reaction
>>> from ccu.adsorption.adsorbates import get_adsorbate
>>> cooh = get_adsorbate('COOH_CIS')
>>> cooh.positions
array([[ 0. , 0. , 0. ],
[ 0.98582255, -0.68771934, 0. ],
[ 0. , 1.343 , 0. ],
[ 0.93293074, 1.61580804, 0. ]])
>>> ocho = get_adsorbate('OCHO')
>>> ocho.positions
array([[ 0. , 0. , 0. ],
[ 1.16307212, -0.6715 , 0. ],
[ 0. , 1.343 , 0. ],
[-0.95002987, -0.5485 , 0. ]])
Place adsorbates on a surface
Place adsorbates on a surface (namely, Cu-THQ.traj) while considering the symmetry of the adsorbate and the adsorption sites.
ccu adsorb CO Cu-THQ.traj orientations/
Documentation
View the latest version of the documentation on Read the Docs
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file comp_chem_utils-0.0.6.tar.gz.
File metadata
- Download URL: comp_chem_utils-0.0.6.tar.gz
- Upload date:
- Size: 6.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0d7a90f394cc7914dec87337dd10bb85aad4eb371529a084155943cd2c753cf
|
|
| MD5 |
d6b1199a49939cd379028fe640cdf8e4
|
|
| BLAKE2b-256 |
5142e86b5559149f9b8f596da6a123a41c5e9893e7bf32593aa36403445dab14
|
File details
Details for the file comp_chem_utils-0.0.6-py3-none-any.whl.
File metadata
- Download URL: comp_chem_utils-0.0.6-py3-none-any.whl
- Upload date:
- Size: 1.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9c06b117ee86989319775d662bc8a23676b57c8961f1ab0afaa57de5ae7c753
|
|
| MD5 |
8d53e04f849d6fcbfe1577cf83ecc75e
|
|
| BLAKE2b-256 |
a09b3244a66855d3b3bf2e0f0d0b3a774087d1092a6f5ca278a9cefd0a04d9f8
|