Skip to main content

A high-level tool for manipulating crystallographic files

Project description

hikari

PyPI version Python version codecov CodeFactor Documentation Status tests

hikari is a simple Python3.6+ package intended for manipulating and running scripts on basic crystallographic files: .hkl, .fcf, .cif, and to some extent .res and .lst.

The following section contains a brief explanation of how to install and use hikari. For a full description please see the documentation.

Getting started

Hikari is registered in PyPI under the name hikari-toolkit. In order to start working with the package, install it using:

$ pip install hikari-toolkit

Since it runs on Python 3.6+ and requires specific versions of some popular packages such as numpy, you might be interested in using hikari in a virtual environment. On Linux, it can be created using virtualenvwrapper:

$ mkvirtualenv -p /usr/bin/python3.6 hikari-venv

After running python from this virtual environment, the package should be available in the namespace via import hikari.

Usage

For the sake of usage, hikari is essentially divided into a few sub-modules, including dataframes, symmetry, utility, and scripts. Dataframes contain objects responsible for basic manipulation of files, for example, the hikari.dataframes.CifFrame is responsible for reading, modifying and writing the Crystal Information Files. Scripts, on the other hand, contain ready to use sets of dataframe instructions and aim to solve certain problems, like reformatting the file or evaluating data completeness in an experiment. In the majority of cases, you will be most likely more interested in the latter.

Author

This software is made by Daniel Tchoń, and distributed under an MIT license. It is in constant development and all tips, suggestions, or contributions are welcome and can be sent here. If you have utilised hikari in academic work, please consider citing this article.

Dr hab. Anna Makal and prof. dr hab. Krzysztof Woźniak are acknowledged for helpful discussions about crystallography behind the subject. Dr Jarosław Kalinowski and mgr inż. Damian Tchoń are acknowledged for insightful tips on project structure and code optimisation.

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

hikari-toolkit-0.2.3.tar.gz (425.8 kB view hashes)

Uploaded Source

Built Distribution

hikari_toolkit-0.2.3-py3-none-any.whl (447.0 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