Skip to main content

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spatula_analysis-0.2.0.tar.gz (750.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

spatula_analysis-0.2.0-cp312-abi3-win_amd64.whl (770.3 kB view details)

Uploaded CPython 3.12+Windows x86-64

spatula_analysis-0.2.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (794.7 kB view details)

Uploaded CPython 3.12+manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

spatula_analysis-0.2.0-cp312-abi3-macosx_11_0_arm64.whl (759.3 kB view details)

Uploaded CPython 3.12+macOS 11.0+ ARM64

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

Hashes for spatula_analysis-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d5948e45c7fceab840df024f505c82b5949c582e95e4e628e06006e0fc50c62a
MD5 233b6343c4940042d00782f35c3c7806
BLAKE2b-256 2a7e986d354712e6cdb4ede4a28bbd3a0583b3c1082b7339793edf5ee7b9bc57

See more details on using hashes here.

Provenance

The following attestation bundles were made for spatula_analysis-0.2.0.tar.gz:

Publisher: build_wheels.yml on glotzerlab/spatula

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spatula_analysis-0.2.0-cp312-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for spatula_analysis-0.2.0-cp312-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7096542753691e1bfba7ea5872303cc5df9de5d6e34dd61fd7ccc00d25ff9370
MD5 4ff5ff79a5ca99ca8cd86a0a790fb0ce
BLAKE2b-256 39c8191ee29e6eede426cb0664a5023ecb8ac0325a0b652afd7f2763f1127e39

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

File hashes

Hashes for spatula_analysis-0.2.0-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c988c9ab65b51cae52f2b554c71688f8df2795a740ed793031ac1ea2ec9e7d11
MD5 e62233a8e5cda4c10f531abc84b8ca51
BLAKE2b-256 2440aef24d19a8dca9f015fccc1126bb51ace058830bfa9815b47cb6f6f382ad

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spatula_analysis-0.2.0-cp312-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spatula_analysis-0.2.0-cp312-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9161ce63f09bcb0f2bb8d73989b7941e8b5416498aa4b730dd2295cca70c73aa
MD5 f7e83305e95b97ac9eb8011822f9b28b
BLAKE2b-256 5d141af998796b162a41820b846ff0e4c7a0712493a426d5161041802eb08b8b

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page