Skip to content

Added transformation return to orient_principal_components - #934

Open
nablacart wants to merge 1 commit into
biotite-dev:mainfrom
nablacart:orient_pc_return_transform
Open

Added transformation return to orient_principal_components#934
nablacart wants to merge 1 commit into
biotite-dev:mainfrom
nablacart:orient_pc_return_transform

Conversation

@nablacart

Copy link
Copy Markdown

Modified transform.orient_principal_components to return an AffineTransformation of centering translation and cumulative rotation to align with specified axes, in addition to transformed coordinates. Updated tests to reflect changes.

Returning the transformation allows for downstream alignment to a specific component of the input structure.

Validated with:

  • pixi run -e test test tests/structure/test_transform.py -q: 1135 passed

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.

1 participant