PoreMS 0.2
  • API
  • Process
  • Molecule
  • Pore
  • Workflow
  • Site
    • Page
        • Molecule.rotate

    Molecule.rotate¶

    Molecule.rotate(self, axis, angle, is_deg=True)¶

    Rotate data matrix \(\boldsymbol{D}\) around an axis \(\boldsymbol{a}\in\mathbb{R}^3\) with angle \(\alpha\in\mathbb{R}\) using rotation function porems.geometry.rotate().

    Parameters:
    axis : integer, string, list

    Axis

    angle : float

    Angle

    is_deg : bool, optional

    True if the input is in degree

    Back to top

    © Copyright 2021, Hamzeh Kraus.
    Created using Sphinx 1.6.6.