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 PIPY
pip install sovapy
Build and Install sovapy
- Clone the SOVA repo
git clone https://github.com/MotokiShiga/sova-cui.git
And move to the downloaded directory
cd sova-cui
bash
- 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
If you encounter an issue with "vcruntime140.dll", please install "Microsoft Visual C++ 2015 Redistributable".
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for sovapy-0.5.3-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0bd5b8c3a21c833728563fc04c8b510393331bc8c9a6e18138d7ad98db596cc |
|
MD5 | 0817893506188e3eb3dfde4f22ae341c |
|
BLAKE2b-256 | d8a631c30fd8013ac3348d5601c9d7f729a26d018fc82cb3817aa2fc1ec4a3f1 |
Hashes for sovapy-0.5.3-cp311-cp311-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fd14de7404e05ab4e031566661f6437145d3124385841dc8bfca12dde810214 |
|
MD5 | 4190b47a88d51257a9c07721867be288 |
|
BLAKE2b-256 | fbf7cfa1fe184662c642c1718475cb56c771f921e039f86eb29a3d7c2e23ec06 |
Hashes for sovapy-0.5.3-cp311-cp311-macosx_14_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b8a26214882dbd58c104f076cc760895dc3c7369eb6e195f0a5d1b7ef5d57c8 |
|
MD5 | f47df70b2fa9d17ddd7812e34b1dc96e |
|
BLAKE2b-256 | 545f549339a62250ac6c32d40187a7f78bb1036af2a050d086a18f9faa55c3af |
Hashes for sovapy-0.5.3-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc1f9dfd67f59e6af1c75b1e258b541de075c39c39cab05c22dbaa5476008ffe |
|
MD5 | 75bcc0ae5e228c31e1c9259e155f46d3 |
|
BLAKE2b-256 | d43a70f34b3433dbc68f4ac8ec057f084a22d4cf1d3b1fc51986602207b79e78 |
Hashes for sovapy-0.5.3-cp310-cp310-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 695f9bc1dee67c8bd189b2f6c1faca015086bd36b7cbd595f386f129290a900b |
|
MD5 | 85cfa91b93d0e28e36fee4d61be09303 |
|
BLAKE2b-256 | 6cb0c467b748264ca0a46332d9bc3eccab852d6dff35a5a38bce1d7573791f3a |
Hashes for sovapy-0.5.3-cp310-cp310-macosx_14_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3632791d98bd09299a1379e3672bfd02439cf5bb8105c1858caf9ba4816e5f70 |
|
MD5 | 2c94980f8299107be3fef6d3e106ec28 |
|
BLAKE2b-256 | 93baf1faae2a6dc728a530dae9c9267cb35b517fdb79992632c6dca7389f840c |