Skip to content

Add an interface to spatula.PGOP in freud.environment - #1511

Draft
janbridley wants to merge 15 commits into
mainfrom
feat/freud-spatula
Draft

janbridley wants to merge 15 commits into
mainfrom
feat/freud-spatula

Conversation

@janbridley

@janbridley janbridley commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Description

This PR aims to improve the discoverability of the PGOP order parameter by exposing the most useful subset of functionality in freud. The full order parameter will remain available as a standarlone package.

Motivation and Context

For this implementation, I chose to use the Python spatula api rather than the underlying C. While I'm sure the performance is slightly lower, I think this makes sense for a simple integration. As I continue to work on the order parameter, I may re-evaluate this design in the future. Please let me know your thoughts!

How Has This Been Tested?

tests/test_environment_pgop.py has been added.

Checklist:

@janbridley
janbridley marked this pull request as draft October 30, 2026 20:40

@joaander joaander left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants