itacart.cells.cell_to_sinusoidal

itacart.cells.cell_to_sinusoidal(cell)[source]

Anchor of a cell on the projection plane.

Parameters:

cell (str) – Compositional index string.

Return type:

tuple[float, float] | list[tuple[float, float]]

Returns:

(x, y) in metres for a single cell, or a positionally aligned list.

Raises:

NonExistentCellError – If any cell of the index names no cell. The predicate is the arbiter and the contract ends there: a spelling it denies is refused rather than answered for the cell it would otherwise fold onto.