Skip to main content

Python library for high-throuhgput .cif analysis

Project description

cifkit

logo-black

  • preprocess .cif files for high-throuhgput processing
  • move, copy, filter files based on a comprehensive set of attributes such as coordination number, elements, tags
  • determine nearest neighbor and coordination environments at each site
  • facilitate the plotting of polyhedrons and

Overview

cifkit provides two primary objects: Cif and CifEnsemble.

  • Cif: Initializes with a .cif file path. It parses the .cif file, preprocesses ill-formatted files, generates supercells, and computes nearest neighbors. It also determines coordination numbers using four different methods and generates polyhedrons for each site.

  • CifEnsemble: Initializes with a folder path containing .cif files. It identifies unique attributes, such as space groups and elements, across the .cif files, moves and copies files based on these attributes. It generates histograms for all attribute.

Motivation

  • High throughput analysis tools using .cif files for research. The tools analyze bonding distances, site analysis, and coordination numbers.
  • Each tool requires preprocesing, formatting, copying, moving, and sorting .cif files.
  • To streamline the above tasks, I developed cifkit that can be easily imported for the above tasks.

Documentation

Please see the tutorial provided here (TBA).

Installation

To run locally:

pip install -e .

Developer

Sangjoon Bob Lee (@bobleesj)

MkDocs

pip install mkdocstrings
pip install mkdocstrings-python
pip install mkdocs
pip install mkdocs-material
pip install mkdocs-jupyter
mkdocs serve

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

cifkit-0.28.tar.gz (34.3 kB view details)

Uploaded Source

Built Distribution

cifkit-0.28-py3-none-any.whl (44.1 kB view details)

Uploaded Python 3

File details

Details for the file cifkit-0.28.tar.gz.

File metadata

  • Download URL: cifkit-0.28.tar.gz
  • Upload date:
  • Size: 34.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for cifkit-0.28.tar.gz
Algorithm Hash digest
SHA256 6aae9f1f4019c35e2df46d59dba092d7dd093ce4b9820dc2852d9479059bcb3e
MD5 46d94d076090d3c43077d70d70f24431
BLAKE2b-256 ccf22347f60cb718d87180433210ae6486072c8356ad5d79bce482b5fbe8b6ac

See more details on using hashes here.

File details

Details for the file cifkit-0.28-py3-none-any.whl.

File metadata

  • Download URL: cifkit-0.28-py3-none-any.whl
  • Upload date:
  • Size: 44.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for cifkit-0.28-py3-none-any.whl
Algorithm Hash digest
SHA256 f2f0981a595f258a27f436abf4754fcab2231c67d145bd433671ca4186ca7443
MD5 78b2275fbf39e0b74c4b17c9d9da5803
BLAKE2b-256 cbc1b547f59c9ad8a58be367e406091c1973b6166834c42a67567ea0439e7aef

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