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.1-cp311-cp311-win_amd64.whl (295.1 kB view details)

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10

sovapy-0.7.1-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.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: sovapy-0.7.1-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.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1c7f7b923fe75dae4aa597f6eb4376d508f53812b57dbca6961e7b83b0dc9659
MD5 cda7e36f3b3fca93ef6a1a74c5693bfc
BLAKE2b-256 bd3fd3c659fe6ec46f0f61575e17ae3b30a3379c37ee1e9e1831f92eabc94663

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sovapy-0.7.1-cp311-cp311-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7038da9dfb402d8d67e37f2743f8552c5944fd1f5182520c0c6556c328114dd5
MD5 88a9c90ebf1b2feb2750452187e60015
BLAKE2b-256 119efcdd21e5f8ae1f0d01167890aec0ef0f225b1c3f1dd159a83f1598c103bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sovapy-0.7.1-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0b9c37c56b356348e1da0d5b240c0230646eaf237f56dcbef3384601da0f0d76
MD5 ca7d4a0a98c5988dc5b56f491eb29afc
BLAKE2b-256 9d1dedab5e12de07c12e342ca5832af548cdffd721076a1d02307d7afc4276ee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sovapy-0.7.1-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.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 48f796503388e5c691863ff83ed38cf9b964166bfacaefd48cdac6fba261e3a1
MD5 2f9010d733d3db576901232f777dd823
BLAKE2b-256 a56e806bcc71293be414a6f7d81f49ffa83ce2f1fad6cd2a7e46a45a13b6d189

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sovapy-0.7.1-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 502c9ecff50ebdd6b3b99189fa0afe087d5a32b1a231732b25eefb88842e775f
MD5 2c7b3bfd425fda5f3f2b15cac8538eab
BLAKE2b-256 6d2b82151306bb8c0152e2aebc7699ec62804d0779b4426447fcf8fd3f3d3de9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sovapy-0.7.1-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 15e1b2eacce20bb620fcde3144afa83e3000c072c2cde77271e768fb41f23cc5
MD5 e5b05a22a6d77c8b562340bd30eeef8d
BLAKE2b-256 45dc8ae0a803fa2ee2f0b5eb2c31bf278e41107025972366b23367f57974d6bb

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