OriVec
OriVec provides tools to compute orientation order parameters for local motifs in atomistic point clouds.
Installation
pip install .
Command Line Usage
orivec .\liquid.data .\ref_unit.xyz --element-map 1=Li,2=Mo,3=S --selected-element S --regularize --parallel --output liquid-orientations.xyz
This command reads a LAMMPS data file, aligns local motifs to the reference geometry, stores the resulting orientation vectors in per-atom arrays, and writes the augmented structure to liquid-orientations.xyz.
Python API
from orivec import get_order_parameters
import numpy as np
structure = get_order_parameters(
"liquid.data",
"ref_unit.xyz",
ref_orientation=np.array([0.0, 0.0, 1.0]),
elements={1: "Li", 2: "Mo", 3: "S"},
selected_elements=["S"],
regularize_orientations=True,
regularize_anchors=np.array([0.0, 0.0, 1.0]),
parallel=True,
max_workers=8,
)
The resulting ase.Atoms object stores orientation vectors in structure.arrays['orientation'], structure.arrays['inlier_rmse']
Metadata
Release files for OriVec 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| orivec-0.1.1.tar.gz | 12.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| orivec-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.5 kB
Release files / orivec-0.1.1.tar.gz
| Download URL | orivec-0.1.1.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
33deb1cdcfd2418407c5578f479d219b832e31552678ed628596d74e509c5b0f
|
|
BLAKE2b-256 checksum How to use checksums |
43ddd6f4adb873e0485f4aa443ef67267da6593de6c6c30bf3345650b646b875
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.4
|
Release files / orivec-0.1.1-py3-none-any.whl
| Download URL | orivec-0.1.1-py3-none-any.whl |
|---|---|
| Size | 13.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6d853690b2a232463c599e4975e841882ac47fabf5ae1ee619f1efb3709fe42a
|
|
BLAKE2b-256 checksum How to use checksums |
82200a5ed10ba29bff795adcd19c65f1a4bcb5c4c63a6e36db26b85c93195b52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.4
|