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
bash 
  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

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

Execute example/1_pdf_xyz.py:

Histogram [O-O], [O-Si], [Si-Si]
Partial and Total g(r), S(Q), etc.

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

Uploaded CPython 3.11Windows x86-64

sovapy-0.5.5-cp311-cp311-manylinux1_x86_64.whl (304.6 kB view details)

Uploaded CPython 3.11

sovapy-0.5.5-cp311-cp311-macosx_14_0_arm64.whl (269.0 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

sovapy-0.5.5-cp310-cp310-win_amd64.whl (286.1 kB view details)

Uploaded CPython 3.10Windows x86-64

sovapy-0.5.5-cp310-cp310-manylinux1_x86_64.whl (304.5 kB view details)

Uploaded CPython 3.10

sovapy-0.5.5-cp310-cp310-macosx_14_0_arm64.whl (269.0 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

File details

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

File metadata

  • Download URL: sovapy-0.5.5-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 286.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.5.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 5ab71e27bf2ceb74e357240205c7216aab5fc07d4697006005dce6078d82b5ba
MD5 5284c425f4708f4f456287718be2cf09
BLAKE2b-256 d8aa4051759c2f7b104d60acd328efb7eca6075353baf08f7cf77944f93f4b1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sovapy-0.5.5-cp311-cp311-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 d33983183e78996d754cf76c42a77bcf5639976e1b610b34d309e859027dda0b
MD5 78f1a998578308718a0798344f8c3f86
BLAKE2b-256 2b40428c6fc067471fa7a2efd7ed2f6b63a6fcc8652abd981cf34a710a96905d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sovapy-0.5.5-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 de503bc7a7b93c728fe545bffdb62414ad3efff5cd3bd826b0e4eaac169c53b6
MD5 236ddb6d16ea00b89b5a0d3723673021
BLAKE2b-256 8c324e679b4f080eed8ea7806ba190a866d2962b1c999c4decd423abc9a41b25

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sovapy-0.5.5-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 286.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.5.5-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 2ffbf5fc772e1c5733b6f7b421998d34d19e29dd8f5c617cbdabf084c579c120
MD5 d1fa300665c6f069fb48628e7fd557c4
BLAKE2b-256 f9929f08a702b295328cd286e401b09c5cdef6bba14ce609574971cfa978559c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sovapy-0.5.5-cp310-cp310-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 fb75e7a137990e19bce5de546ff0c8c2a56c98587d08ff534ea4eefbc86d4262
MD5 f7b6e9aaa95c2ef028018f6e95ee26f7
BLAKE2b-256 f68b304c856e93de6121d659fcff06599e2ad1a9acf9fb24f894f0750d835afc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sovapy-0.5.5-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 62f8086534f0e28c9b57bce428a66e6efdb7e9574e9b1d827adf2df01b232f0c
MD5 871f239498170b2b36201848f7336470
BLAKE2b-256 4d18091ec8b92989ceb93a0072ea1d8ff0aef4c682cd6d7f8fc45b11b3fc1d4f

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