-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #86 from GMPavanLab/revert-85-modify_readme
Revert "Renaming to cpctools"
- Loading branch information
Showing
4 changed files
with
49 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# cpctools | ||
# cpctools: SOAPify and SOAPify.HDF5er | ||
|
||
![PyPI - License](https://img.shields.io/pypi/l/cpctools) | ||
[![PyPI](https://img.shields.io/pypi/v/cpctools)](https://pypi.org/project/cpctools/) | ||
|
@@ -9,43 +9,65 @@ | |
[![Coverage Status](https://coveralls.io/repos/github/GMPavanLab/SOAPify/badge.svg?branch=main)](https://coveralls.io/github/GMPavanLab/SOAPify?branch=main) | ||
[![Powered by MDAnalysis](https://img.shields.io/badge/powered%20by-MDAnalysis-orange.svg?logoWidth=16&logo=data:image/x-icon;base64,AAABAAEAEBAAAAEAIAAoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJD+XwCY/fEAkf3uAJf97wGT/a+HfHaoiIWE7n9/f+6Hh4fvgICAjwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACT/yYAlP//AJ///wCg//8JjvOchXly1oaGhv+Ghob/j4+P/39/f3IAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJH8aQCY/8wAkv2kfY+elJ6al/yVlZX7iIiI8H9/f7h/f38UAAAAAAAAAAAAAAAAAAAAAAAAAAB/f38egYF/noqAebF8gYaagnx3oFpUUtZpaWr/WFhY8zo6OmT///8BAAAAAAAAAAA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)](https://www.mdanalysis.org) | ||
|
||
SOAPify is a python 3.8/3.9/3.10 library aimed at simplifying the analysis of Molecular Dynamics simulation using the Smooth Overlap of Atomic Position (SOAP) in the context that includes the time along the geometrical information of the frames of the simulation. | ||
|
||
### **We are no longer developing in this project. Future works will be in [dynsight](https://github.com/GMPavanLab/dynsight).** | ||
SOAPify uses `h5py` to store the trajectories, the SOAP fingerprints, and the analysis results in a binary format. | ||
|
||
|
||
`cpctools` is a python 3.8/3.9/3.10 library aimed at simplifying the analysis of Molecular Dynamics simulations. | ||
|
||
_cpctools_ stands for **C**omputational **P**hysical **C**hemistry **TOOLS**, or, if you prefer, for **C**hemical **P**hysics **C**omputational **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](https://cpctools.readthedocs.io/en/latest/). There you can consult the documentation for each available version of the package. | ||
SOAPify also offers a suite for (simple) state analysis for your simulations. | ||
|
||
## How To Install | ||
|
||
To install the stable version of `cpctools` just type: | ||
To install the stable version of SOAPify just type: | ||
```bash | ||
pip install cpctools | ||
``` | ||
_cpctools_ stands for **C**omputational **P**hysical **C**hemistry **TOOLS**, or, if you prefer, for **C**hemical **P**hysics **C**omputational **TOOLS**. | ||
|
||
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: | ||
|
||
```bash | ||
pip install "dscribe<=1.2.2,>1.2.0" | ||
pip install "quippy-ase==0.9.10" | ||
``` | ||
--- | ||
### package: SOAPify | ||
|
||
### Installing the latest version | ||
|
||
We always recommend to install your code in a dedicated environment: | ||
|
||
```bash | ||
python3 -m venv /path/to/new/venv --prompt SOAPify | ||
source /path/to/new/venv/bin/activate | ||
pip install --upgrade pip | ||
``` | ||
|
||
Then to install SOAPify you can simply go to the repository directory and run the following: | ||
```bash | ||
cd /path/to/SOAPify/directory | ||
pip install . | ||
``` | ||
or if you do not want to download the repo, you can have pip install from source: | ||
```bash | ||
pip install 'cpctools @ git+https://github.com/GMPavanLab/SOAPify.git' | ||
``` | ||
Or if you desire an older version you can install it from a tag: | ||
```bash | ||
pip install 'cpctools @ git+https://github.com/GMPavanLab/[email protected]' | ||
``` | ||
|
||
We have a (very basic) [documentation](https://gmpavanlab.github.io/SOAPify/SOAPify.html) of the latest version available on the GitHub pages. | ||
|
||
A more complete history of the documentation is available on [read the docs](https://soapify.readthedocs.io/en/latest/). There you can consult the documentation for each available version of the package. | ||
|
||
|
||
## SOAPify | ||
|
||
This package contains: | ||
- a toolbox to calculate the [SOAP fingerprints](https://doi.org/10.1103/PhysRevB.87.184115) 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 | ||
## SOAPify.HDF5er | ||
|
||
This package is a toolbox to create [hdf5 files](https://www.hdfgroup.org/) with [h5py](https://www.h5py.org/) from the trajectory and topology files. The format we use **do not** align with [h5md](https://www.nongnu.org/h5md/h5md.html) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,4 @@ | |
from .engine import * | ||
from .analysis import * | ||
|
||
__version__ = "v0.2.0" | ||
__version__ = "v0.1.0" |