Skip to content

Conversation

drroe
Copy link
Contributor

@drroe drroe commented Jul 1, 2022

Version 6.10.0.

This PR adds the ability to extract rotations around the X, Y, and Z axes via the new calcfrom keyword of the rotate command:

calcfrom <set name> [name <output set name>] [out <file>]

This allows users to e.g. extract rotations around each axis from rotation matrices generated by the rms command.

This PR also fixes a bug in the rotate command where rotations were incorrect if attempting to rotate around more than 1 axis (i.e. rotation around X is ok, but rotation around XY would give incorrect results).

Also adds tests and updates the manual entry.

@drroe drroe merged commit 9511a90 into Amber-MD:master Jul 1, 2022
@drroe drroe deleted the rotmatrix.decompose branch July 1, 2022 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant