toponetx.CellView#

class toponetx.CellView[source]#

Bases: AtomView[Cell]

A CellView class for cells of a CellComplex.

Methods

raw(cell)

Index the raw cell objects analogous to the overall index of CellView.

__init__() None[source]#

Methods

__init__()

raw(cell)

Index the raw cell objects analogous to the overall index of CellView.

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.