Coarse-grainig hybrid and inorganic crystals (CHIC)
Project description
Coarse-graining Hybrid Inorganic Crystals.
Getting started
Install with pip install chic-lib
, and you're ready to go!
By way of a quick example, ZIF-8 (CSD RefCode: FAWCEN) can be coarse-grained by running:
from chic import Structure
# read in structure and delete oxygen from the pores.
struct = Structure.from_cif("ZIF-8-sod.cif")
struct.remove_sites_by_symbol("O")
# compute neighbour list, find atomic clusters, and coarse-grain.
struct.get_neighbours_crystalnn()
struct.find_atomic_clusters()
struct.get_coarse_grained_net()
# export structure as TopoCIF.
struct.net_to_cif('ZIF-8-sod-cg.cif', write_bonds=True, name='ZIF-8-cg')
Head over to the chic docs to see examples and more details!
ToDo list
- Add docs.
- Add simple distance cut-off algorithm for neighbour list building.
- Add custom implementation of optimised CrystalNN algorithm.
- Integrate back-mapping code.
- Integrate extraction of local energies from LAMMPS dump format.
- Add registry to Net class for easier future development beyond ZIFs.
Authors
Thomas C. Nicholas
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
chic-lib-0.1.15.tar.gz
(106.7 kB
view hashes)
Built Distribution
chic_lib-0.1.15-py3-none-any.whl
(100.8 kB
view hashes)
Close
Hashes for chic_lib-0.1.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1398a5493591eafabe880c70c514bed0fb97046451b858040c6df20a0a813b7c |
|
MD5 | e4b3951d30a4767ab2cc806c4f04a3f0 |
|
BLAKE2b-256 | 3c0c063019c03da3ce4eddfb431660e45405ba99ad6c24ec8af8e862df336f7f |