Skip to main content

SOVA (Structural Order Visualization and Analysis) with python

Project description

SOVApy (Structural Order Viaualization and Analysis with Python)

SOVA can be installed in Windows, MacOS and Linux.
(The package name to be imported is "sovapy".)

Install from PyPI

pip install sovapy

Build and Install sovapy

  1. Clone the SOVA repo
git clone https://github.com/MotokiShiga/sova-cui.git

And move to the downloaded directory

cd sova-cui
  1. To compile and to generate so or dll files, run
    for macos and linux
bash run_install_mac_linux.sh

For windows, use "x64 Native Tools Command Prompt for Visual Studio 2022" to run

install_win.bat
  1. To install SOVA, run
pip install .  

For the usage, see example codes in the directory 'examples'.

Environment

Major packages used for our development

Package Version
Python 3.10.0
ase 3.22.1
h5py 3.7.0
igraph 0.11.3
matplotlib 3.6.3
networkx 3.1
numpy 1.23.5
PyCifRW 4.4.5
scipy 1.8.1
spglib 2.0.2

The versions of other packages can be found in requirements.txt.

You can make the virtual environment for sova by

python -m venv sova-cui
source sova-cui/bin/activate
pip install --upgrade pip
pip install -r requirements.txt

Acknowledgements

SOVA reuses source codes of the following package:

Examples

0_all_analysis  : All analysis and saving results in a hdf5
1_pdf_xyz       : PDF analysis from xyz file (amorphous SiO2)
2_pdf_cif       : PDF analysis from xyz file (beta-cristobalite)
3_pdf_cfg       : PDF analysis from cfg file generated by RMC++ (amorphous SiO2)
4_coordination  : Coordination number analysis (amorphous SiO2)
5_bond_angle    : Bond angle analysis (amorphous SiO2)
6_polyhedra     : Polyhedral symmetry analysis (q-value) (amorphous SiO2)
7_ring          : Ring analysis  (beta-cristobalite)
8_cavity        : Cavity analysis (amorphous SiO2)
9_save_result   : Save and load calculated results

Citation

We are preaparing a manuscript for this package. Before the publication, you should cite this url and the following papers. If you have implemented ring analysis, please cite the original papers of ring definitions (Guttman, King, and Primitive) and our paper:
[1] M. Shiga, A. Hirata, Y. Onodera, H. Masai, Ring-originated anisotropy of local structural ordering in amorphous and crystalline silicon dioxide. Commun. Mater. 4, 91 (2023). https://doi.org/10.1038/s43246-023-00416-w

For cavity analysis, please cite
[2] I. Meyer, F. Rhiem, F. Beule, D. Knodt, J. Heinen, R. O. Jones, pyMolDyn: Identification, structure, and properties of cavities/vacancies in condensed matter, J. Comput. Chem., 38, 389–394 (2017). https://doi.org/10.1002/jcc.24697

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

sovapy-0.7.0-cp311-cp311-win_amd64.whl (295.1 kB view details)

Uploaded CPython 3.11Windows x86-64

sovapy-0.7.0-cp311-cp311-manylinux1_x86_64.whl (313.5 kB view details)

Uploaded CPython 3.11

sovapy-0.7.0-cp311-cp311-macosx_14_0_arm64.whl (278.0 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

sovapy-0.7.0-cp310-cp310-win_amd64.whl (295.1 kB view details)

Uploaded CPython 3.10Windows x86-64

sovapy-0.7.0-cp310-cp310-manylinux1_x86_64.whl (313.4 kB view details)

Uploaded CPython 3.10

sovapy-0.7.0-cp310-cp310-macosx_14_0_arm64.whl (278.0 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

File details

Details for the file sovapy-0.7.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: sovapy-0.7.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 295.1 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.8

File hashes

Hashes for sovapy-0.7.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1dbf6dd5e9ebea188221ce8017d056ca64ea034068a3af47a69cf50b476794f8
MD5 ce5121a50c60d0d6e5c50650f79cb496
BLAKE2b-256 b07edf168aa2d131ae0f0bdab4f6f90a786a03b50b417465c11656d8a53ba888

See more details on using hashes here.

File details

Details for the file sovapy-0.7.0-cp311-cp311-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for sovapy-0.7.0-cp311-cp311-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 bb895f411b7a256fe34bb6a3e046d1349c2e827cfac854d2459322822e4734a8
MD5 798d06b0af95e9e9137bfce51f14ce49
BLAKE2b-256 51726b16ccc52d05bf40703f6b0bd615ad6f96441327bce070f44e385bbb83da

See more details on using hashes here.

File details

Details for the file sovapy-0.7.0-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for sovapy-0.7.0-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6c7a81761da5e0f62b019543102c804e3b6bdee9f9c6df2b7c57f8e6c3b5ac76
MD5 e96f49789075a57f68f030e77af39a53
BLAKE2b-256 4cd2a336541f7d658d0af3bfb0cb9ebadbe2a41c922b1e7c544bc4aa00c8c9a9

See more details on using hashes here.

File details

Details for the file sovapy-0.7.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: sovapy-0.7.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 295.1 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.8

File hashes

Hashes for sovapy-0.7.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6fbf5ad46149d57fa8f0de4c7d953d101928e9c4a1c04f0173aee88422ec18f4
MD5 7a68961333332a3369ba6c074370a57a
BLAKE2b-256 1939d6c2af834135c9b89e5cb16db85924d016b2bfc283af8dafc47c773fc892

See more details on using hashes here.

File details

Details for the file sovapy-0.7.0-cp310-cp310-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for sovapy-0.7.0-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a6af2ef43e3f0a725df0a5daad9640a8d33dbf597f1cad6036997429eb42dfad
MD5 fbed37312a333d7b52bd46a91a03f655
BLAKE2b-256 194a5fba09c95bd6a42014097aa74ab389f430cb4bc1dfc6bf7ccf7a2a8eeb1d

See more details on using hashes here.

File details

Details for the file sovapy-0.7.0-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for sovapy-0.7.0-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c5ad80d490f88e8a4a96df0cece81f5e1f42bf59481c4271641d97912d99fc5f
MD5 1fa96fb2b16aa038f5fe8d0851283c3e
BLAKE2b-256 0fdf3eb4f8eb5bf62a9528699ef3c5dde4fd387873161754c66e3b5342f7e223

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page