Skip to main content

A set of tools for coarse-graining and back-mapping frameworks.

Project description

CHIC

Coarse-graining Hybrid Iorganic Crystals.

Schematic of decorating and coarse-graining the sodalite (sod) net

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.
zif8 = Structure.from_cif('FAWCEN.cif')
zif8.remove_species('O')

# compute neighbour list, find atomic clusters, and coarse-grain. 
zif8.get_neighbours_crystalnn()
zif8.find_atomic_clusters()
zif8.get_coarse_grained_net()

# export structure as TopoCIF.
zif8.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


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.8.tar.gz (77.6 kB view hashes)

Uploaded Source

Built Distribution

chic_lib-0.1.8-py3-none-any.whl (84.3 kB view hashes)

Uploaded Python 3

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