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

    angle_azi¶

    porems.geometry.angle_azi(pos, is_deg=False)¶

    Calculate the azimuthal angle of a position vector \(\boldsymbol{a}\in\mathbb{R}^3\), which is the angle of the position vector towards the x-y-plane

    \[\text{azimut}(\boldsymbol{a}) =\cos^{-1}\frac{y}{|\boldsymbol{a}|}\]

    with \(y\) as the second vector entry.

    Parameters:
    poslist

    Position vector \(\boldsymbol{a}\)

    is_degbool, optional

    True if the output should be in degree

    Returns:
    anglefloat

    Azimuthal angle

    Back to top

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