PoreMS 0.2
  • API
  • Process
  • Molecule
  • Pore
  • Workflow
  • Site
    • Page
        • Dice.neighbor

    Dice.neighbor¶

    Dice.neighbor(self, cube_id, is_self=True)¶

    Get the ids of the cubes surrounding the given one.

    Parameters:
    index : list

    Main cube index

    is_self : bool, optional

    True to add the main cube to the output

    Returns:
    neighbor : list

    List of surrounding cube ids, optionally including given cube id

    Back to top

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