toponetx.CellView#
- class toponetx.CellView[source]#
-
A CellView class for cells of a CellComplex.
Methods
raw
(cell)Index the raw cell objects analogous to the overall index of CellView.
Methods
- raw(cell: tuple | list | Cell) Cell | list[Cell] [source]#
Index the raw cell objects analogous to the overall index of CellView.
- Parameters:
- celltuple, list, or cell
The cell of interest.
- Returns:
- Cell or list of Cells
The raw Cell objects. If more than one cell with the same boundary exists, returns a list; otherwise a single cell.
- Raises:
- KeyError
If the cell is not in the cell dictionary.