Skip to main content

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)

Source distribution for OriVec 0.1.1
File Size Uploaded
orivec-0.1.1.tar.gz 12.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for OriVec 0.1.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page