Skip to main content

A package for creating and studying SOAP fingerprints

Project description

SOAPify, HDF5er and ReferenceMaker

Powered by MDAnalysis Code style: black Hatch project License - MIT Documentation Status

SOAPify is python 3.8/3.9/3.10 library aimed at simplify the analysis of Molecular Dynamics simulation using the Smooth Overlap of Atomic Position (SOAP) in context that includes the time along the geometrical informations of the frames of the simulation.

SOAPify uses h5py for caching the results of the various analysis.

SOAPify offers a suite for a (basic) state analysis for the simulation.

How To Install

To set up the environment and install SOAPify run the following in the repository folder:

python3 -m venv ./venv --prompt SOAPify
source ./venv/bin/activate
pip install --upgrade pip 
pip install .

If you want to use dscribe or quippy for calculating the SOAP features you should install them separately:

pip install "dscribe >1.2.0 <=1.2.2"
pip install "quippy-ase==0.9.10"

(PyPI support is incoming!)

Now with a (very basic) documentation of the latest version pushed to the main branch!

A more complete history of the documetation is avaiable on read the docs, with storage of the old

SOAPify

This package contains a toolbox to calculate the SOAP fingerprints of a system of atoms.

HDF5er

This package contains a small toolbox to create hdf5 files with h5py from trajectory and topology files. The format we use do not align with h5md.

ReferenceMaker

The ReferenceMaker package contains a set of function that can create a reference file to be used with the SOAPify package.

ReferenceMaker function can be called with custom made scripts, but the user can create a list of SOAP references with the following:

python3 -m ReferenceMaker

The command will create a file called "XxReferences.hdf5" (with Xx is the chemical symbol of the chosen metal in the prompt from the command python3 -m ReferenceMaker) that contains the fingerprints of the following structures:

  • bulk: sc,bcc,hcp,fcc
  • th4116: vertexes, edges, 001 faces, 111 faces
  • ico5083: vertexes, edges, 111 faces, five folded axis
  • dh3049: concave atom, five folded axis

To use the automatic procedure the user needs to install lammps as a python package so that lammps is avaiable to the newly created virtual environment, following the guide on the lammps site

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

cpctools-0.0.6.tar.gz (92.9 kB view details)

Uploaded Source

Built Distribution

cpctools-0.0.6-py3-none-any.whl (76.7 kB view details)

Uploaded Python 3

File details

Details for the file cpctools-0.0.6.tar.gz.

File metadata

  • Download URL: cpctools-0.0.6.tar.gz
  • Upload date:
  • Size: 92.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.0

File hashes

Hashes for cpctools-0.0.6.tar.gz
Algorithm Hash digest
SHA256 9a391c055651501daead1b83cdc8603ed55bf9c4e7b92086bf9c5c33ade2fd89
MD5 8bc9012ff0b02d80fe9766fc67320791
BLAKE2b-256 9c6289a483dc9c42cd526f435308847b9afa1948b71c9f64336fd962856a85f6

See more details on using hashes here.

File details

Details for the file cpctools-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: cpctools-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 76.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.0

File hashes

Hashes for cpctools-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ff6e199edb3d94483e21cc0c62afb168a469f063f6f6dc68d94ca589a644176d
MD5 fe276ff99d4f2fc311e4dd67be442427
BLAKE2b-256 6ce5899797182828dcc842792eaeaf017217bf0a8c761f24988ce28d39d371f9

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