Skip to main content

A package for analysing molecular systems

Project description

cpctools

PyPI - License PyPI PyPI - Python Version Code style: black Hatch project Documentation Status Coverage Status Powered by MDAnalysis

We are no longer developing in this project. Future works will be in dynsight.

cpctools is a python 3.8/3.9/3.10 library aimed at simplifying the analysis of Molecular Dynamics simulations.

cpctools stands for Computational Physical Chemistry TOOLS, or, if you prefer, for Chemical Physics Computational TOOLS.

It contains two packages, SOAPify and SOAPify.HDF5er.

cpctools uses h5py to store the trajectories, the SOAP fingerprints, and the analysis results in a binary format, facilitated by HDF5er.

The documentation is available on read the docs. There you can consult the documentation for each available version of the package.

How To Install

To install the stable version of cpctools just type:

pip install cpctools

If you want to use dscribe or quippy for calculating the SOAP features you should install them separately, since they are quite heavy packages on their own, and usually you would use only one of these packages:

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

package: SOAPify

This package contains:

  • a toolbox to calculate the SOAP fingerprints of a system of atoms. The principal aim is to simplify the setup of the calculation. This toolbox depends on dscribe or quippy and 'unify' the output of the two codes.
  • a toolbox to calculate the distances between SOAP fingerprints
  • a simple analysis tool for trajectories of classified atoms

package: SOAPify.HDF5er

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

Our format is thought to speed up the calculations without occupying too much RAM, thanks to the hdf5 dataset chunking capabilities.

  • The data within the files are organized into Group categories:
    • "Trajectories" contains subgroups that represent the various stored trajectories, each trajectory subgroup contains three datasets:
      • "Types" contains the types of atoms in the simulation
      • "Box" contains the history of the box dimensions
      • "Trajectory" contains the history of the particle positions
    • "SOAP" group contains the Dastasets of the calculated SOAP fingerprints, each SOAP Dataset contains attributes with the settings to reproduce the results.
    • "Classification" contain a group per trajectory, the format of the Dataset contained within is not fixed
  • The user can choose to use a single file per project or to store separately the results of the various steps of the analysis project (this is more recommended). SOAPify.HDF5er contains a tool for exporting the trajectories from the hdf5 file to extended xyz format, compatible with ovito

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

Uploaded Source

Built Distribution

cpctools-0.1.1-py3-none-any.whl (36.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cpctools-0.1.1.tar.gz
  • Upload date:
  • Size: 57.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for cpctools-0.1.1.tar.gz
Algorithm Hash digest
SHA256 819a9016f601a4c8920aa0795a24828620db8cdccce08149b89d8c1292ef1e4a
MD5 5b761b751dfcf45da2f3af9a0390bdcf
BLAKE2b-256 c0060ab1ad49be360fcf78520d2961d8b437ec7b2fbf378cb4cec629ec13cb9e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cpctools-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 36.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for cpctools-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 72a0716764668f99c8ee1580c572ecfd7f479d4e2481d8b9c2d34c839904c979
MD5 a0a884c04c235becfad3525f642a1ac7
BLAKE2b-256 05e9d0507adf016006f765375b342b3465096eb5f592efa6a10faad24cb5850b

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