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

    main_axis¶

    porems.geometry.main_axis(inp, dim=3)¶

    Return the three-dimensional unit-vector of the main axes. Input is either integer or string

    • 1 or “x” for the x-axis

    • 2 or “y” for the y-axis

    • 3 or “z” for the z-axis

    Parameters:
    inpinteger, string

    Axis type input

    diminteger, optional

    Number of dimensions

    Returns:
    veclist

    Unit vector

    Back to top

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