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.29.tar.gz (34.4 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cifkit-0.29.tar.gz
Algorithm Hash digest
SHA256 70dcac1d40703e43d1266eb8e8d50d6d0c4cf9afed824334f2d59b86aa6c75f2
MD5 f4f8e38480904f3047c60a5d761c28ad
BLAKE2b-256 2683043128029482e671f2aba6a8fba7e77e47eac2662319fd27ddbf756bb26e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cifkit-0.29-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.29-py3-none-any.whl
Algorithm Hash digest
SHA256 52e1ece0b170e27494c859acc510ee57f3063fe3df09774d3154855c762ba968
MD5 a1877b5331ea1fcd42bc8050214d7c06
BLAKE2b-256 d92a5b637b6b8d919871f4a2883ef04668c57329e92441de2d5354344665f148

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