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

    Matrix.bound¶

    Matrix.bound(num_bonds, logic='eq')¶

    Return a list of atoms with the specified number of bonds. Possible logic arguments are

    • eq - Equals

    • lt - Less than

    • gt - Greater than

    Parameters:
    num_bondsint

    Number of bonds to search for

    logicstring, optional

    Logic statement

    Returns:
    atomslist

    List of atom ids with the number of specified bonds

    Back to top

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