manny405 / mcse

Molecular Crystal Simulation Library (mcse) is an open-source Python package for manipulating and analyzing molecular crystal structures
Apache License 2.0
14 stars 1 forks source link
analysis crystallography crystals dft generation machine-learning molecular molecular-crystals polymorph polymorphism python rmsd

==== mcse

.. contents:: :local:

.. figure:: doc/static/logo.png :height: 562 :width: 765 :scale: 40 % :align: center

The Molecular Crystal Simulation Environment (mcse) is an open-source Python package for manipulating and analyzing molecular crystal structures. mcse provides a practical and parallel set of tools to efficiently analyze thousands of geometries. Included is a unique Structure class for representing molecular crystals that allows users to easily and automatically obtain the molecules that make up the crystal. The molecules are found automatically by computing the covalent bonds from the periodic atomic geometry. Any typical geometry file format is accepted, through wrappers to ase and pymatgen.

.. _ase: https://wiki.fysik.dtu.dk/ase/

.. _pymatgen: https://pymatgen.org/


Installation

To start installing and using mcse, it's highly recommended to start from an Anaconda distribution of Python, which can be downloaded for free here_.

.. _here: https://www.anaconda.com/products/individual

Then download the library from Github. A zip file can be downloaded using the green download code button. Alternatively, this repository can be obtained using the following command.

.. code-block:: bash

$ git clone https://github.com/manny405/mcse.git

After navigating to the mcse directory, installation is completed with the following commands.

.. code-block:: bash

$ python -m pip install -r requirements.txt
$ python setup.py install

All requirements and dependencies will be installed automatically. Please be patient as this may take a while if multiple significant dependencies are missing.


Examples

The examples folder provides an introduction to the mcse library. Included are details about the current features and analysis methods that are implemented. Geometry files are included for running every example in each respective folder. Provided is a short description of the topics that are covered:


Features

Currently provided is a pre-release version of mcse. Given below is a visual representation of the features of the pre-release library. Each feature is covered in more detail with examples in the examples directory.

.. figure:: doc/static/mcse_features.png :height: 1320 :width: 1428 :scale: 40 % :align: center


Credits

I_ have been the sole developer of this library during my PhD. The use of this library by others within my research group and by external collaborators has provided a catalyst for the implementation of many features and API changes. Thank you to everyone that has used the library prior to this initial release.

.. _I: http://ibier.io/