Skip to content

Trajectory rotation only rotates positions #5421

Description

@amruthesht

Bug description and Actual behavior

The Trajectory rotation transofrmation and its asociated rotate methods seem to only rotate positions while ignoring velocities and forces tied to the simulation frame/trajectory. Related AtomGroup methods like rotate() and rotateby() also have a similar issue.
However, most scientific contexts require rotation of most simulation frame vector attributes like positions, velcoties, and forces.

Expected accurate behavior

All roatation based functions and modules should rotate other simulation frame/trajectory attributes like velocities and forces using a similar (mathematical) rotation formulism (and maybe have an optional paramter switches to do so or not for velocities and forces)

Current version of MDAnalysis

  • Issue current as of MDA v2.10

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions