PoreMS 0.3
  • API
  • Molecule
  • Pore
  • Workflow
  • Pore shape examples
  • Site
    • Page
        • Molecule.rotate
          • Molecule.rotate()
    • Molecule.rotate
      • Molecule.rotate()
    Source

    Molecule.rotate¶

    Molecule.rotate(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:
    axisinteger, string, list

    Axis

    anglefloat

    Angle

    is_degbool, optional

    True if the input is in degree

    Back to top

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