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
Metadata
Release files for comp-chem-utils 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| comp_chem_utils-0.0.6.tar.gz | 6.7 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| comp_chem_utils-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.4 MB
Release files / comp_chem_utils-0.0.6.tar.gz
| Download URL | comp_chem_utils-0.0.6.tar.gz |
|---|---|
| Size | 6.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0d7a90f394cc7914dec87337dd10bb85aad4eb371529a084155943cd2c753cf
|
|
BLAKE2b-256 checksum How to use checksums |
5142e86b5559149f9b8f596da6a123a41c5e9893e7bf32593aa36403445dab14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|
Release files / comp_chem_utils-0.0.6-py3-none-any.whl
| Download URL | comp_chem_utils-0.0.6-py3-none-any.whl |
|---|---|
| Size | 1.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9c06b117ee86989319775d662bc8a23676b57c8961f1ab0afaa57de5ae7c753
|
|
BLAKE2b-256 checksum How to use checksums |
a09b3244a66855d3b3bf2e0f0d0b3a774087d1092a6f5ca278a9cefd0a04d9f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|