Point group symmetry analysis of local environments for point cloud data.
Project description
Overview
SPATULA (Symmetry Pattern Analysis Toolkit for Understanding Local Arrangements) is a Python package for computing the continuous symmetry ordering of the neighbors of a point in space. In general, this is to compute the local ordering of particles (molecules) in simulations or experiments over time. The package serves as an extension of freud with a new order parameter.
spatula currently supports all point groups of finite order:
All crystallographic point groups
Cyclical groups \(C_n\)
Cyclical groups with vertical reflection \(C_{nv}\)
Cyclical groups with horizontal reflection \(C_{nh}\)
Dihedral groups \(D_n\)
Dihedral groups with horizontal reflection \(D_{nh}\)
Dihedral groups with diagonal reflections \(D_{nd}\)
Polyhedral groups \(T, T_h, T_d, O, O_h, I, I_h\)
Rotoreflection groups \(S_n\)
Inversion group: \(C_i\)
Reflection group: \(C_s\)
Resources
Reference Documentation: Examples, tutorials, and package Python APIs.
Installation Guide: Instructions for installing and compiling spatula.
GitHub repository: Download the spatula source code.
Issue tracker: Report issues or request features.
Citation
When using spatula to process data for publication, please refer to the documentation instructions.
Installation
Spatula is available on PyPI and conda-forge. See the Installation Guide for more information.
Example
import freud
import spatula
system = freud.data.UnitCell.fcc().generate_system(3)
optimizer = spatula.optimize.Union.with_step_gradient_descent(
optimizer=spatula.optimize.Mesh.from_grid()
)
PGOP_Oh_Ih = spatula.PGOP(["Oh","Ih"], optimizer)
PGOP_Oh_Ih.compute(system, sigmas=None, neighbors={"r_max": 1.2, "exclude_ii": True})
print(PGOP_Oh_Ih.order)
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 Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spatula_analysis-0.2.0.tar.gz.
File metadata
- Download URL: spatula_analysis-0.2.0.tar.gz
- Upload date:
- Size: 750.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5948e45c7fceab840df024f505c82b5949c582e95e4e628e06006e0fc50c62a
|
|
| MD5 |
233b6343c4940042d00782f35c3c7806
|
|
| BLAKE2b-256 |
2a7e986d354712e6cdb4ede4a28bbd3a0583b3c1082b7339793edf5ee7b9bc57
|
Provenance
The following attestation bundles were made for spatula_analysis-0.2.0.tar.gz:
Publisher:
build_wheels.yml on glotzerlab/spatula
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spatula_analysis-0.2.0.tar.gz -
Subject digest:
d5948e45c7fceab840df024f505c82b5949c582e95e4e628e06006e0fc50c62a - Sigstore transparency entry: 1043543170
- Sigstore integration time:
-
Permalink:
glotzerlab/spatula@edfa2bf4eb665f16817a7594458b8685044c0c7d -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/glotzerlab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_wheels.yml@edfa2bf4eb665f16817a7594458b8685044c0c7d -
Trigger Event:
push
-
Statement type:
File details
Details for the file spatula_analysis-0.2.0-cp312-abi3-win_amd64.whl.
File metadata
- Download URL: spatula_analysis-0.2.0-cp312-abi3-win_amd64.whl
- Upload date:
- Size: 770.3 kB
- Tags: CPython 3.12+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7096542753691e1bfba7ea5872303cc5df9de5d6e34dd61fd7ccc00d25ff9370
|
|
| MD5 |
4ff5ff79a5ca99ca8cd86a0a790fb0ce
|
|
| BLAKE2b-256 |
39c8191ee29e6eede426cb0664a5023ecb8ac0325a0b652afd7f2763f1127e39
|
Provenance
The following attestation bundles were made for spatula_analysis-0.2.0-cp312-abi3-win_amd64.whl:
Publisher:
build_wheels.yml on glotzerlab/spatula
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spatula_analysis-0.2.0-cp312-abi3-win_amd64.whl -
Subject digest:
7096542753691e1bfba7ea5872303cc5df9de5d6e34dd61fd7ccc00d25ff9370 - Sigstore transparency entry: 1043543314
- Sigstore integration time:
-
Permalink:
glotzerlab/spatula@edfa2bf4eb665f16817a7594458b8685044c0c7d -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/glotzerlab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_wheels.yml@edfa2bf4eb665f16817a7594458b8685044c0c7d -
Trigger Event:
push
-
Statement type:
File details
Details for the file spatula_analysis-0.2.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: spatula_analysis-0.2.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 794.7 kB
- Tags: CPython 3.12+, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c988c9ab65b51cae52f2b554c71688f8df2795a740ed793031ac1ea2ec9e7d11
|
|
| MD5 |
e62233a8e5cda4c10f531abc84b8ca51
|
|
| BLAKE2b-256 |
2440aef24d19a8dca9f015fccc1126bb51ace058830bfa9815b47cb6f6f382ad
|
Provenance
The following attestation bundles were made for spatula_analysis-0.2.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
build_wheels.yml on glotzerlab/spatula
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spatula_analysis-0.2.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
c988c9ab65b51cae52f2b554c71688f8df2795a740ed793031ac1ea2ec9e7d11 - Sigstore transparency entry: 1043543229
- Sigstore integration time:
-
Permalink:
glotzerlab/spatula@edfa2bf4eb665f16817a7594458b8685044c0c7d -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/glotzerlab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_wheels.yml@edfa2bf4eb665f16817a7594458b8685044c0c7d -
Trigger Event:
push
-
Statement type:
File details
Details for the file spatula_analysis-0.2.0-cp312-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: spatula_analysis-0.2.0-cp312-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 759.3 kB
- Tags: CPython 3.12+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9161ce63f09bcb0f2bb8d73989b7941e8b5416498aa4b730dd2295cca70c73aa
|
|
| MD5 |
f7e83305e95b97ac9eb8011822f9b28b
|
|
| BLAKE2b-256 |
5d141af998796b162a41820b846ff0e4c7a0712493a426d5161041802eb08b8b
|
Provenance
The following attestation bundles were made for spatula_analysis-0.2.0-cp312-abi3-macosx_11_0_arm64.whl:
Publisher:
build_wheels.yml on glotzerlab/spatula
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spatula_analysis-0.2.0-cp312-abi3-macosx_11_0_arm64.whl -
Subject digest:
9161ce63f09bcb0f2bb8d73989b7941e8b5416498aa4b730dd2295cca70c73aa - Sigstore transparency entry: 1043543277
- Sigstore integration time:
-
Permalink:
glotzerlab/spatula@edfa2bf4eb665f16817a7594458b8685044c0c7d -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/glotzerlab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_wheels.yml@edfa2bf4eb665f16817a7594458b8685044c0c7d -
Trigger Event:
push
-
Statement type: