scviva.utils.validate_spatial_coords#

scviva.utils.validate_spatial_coords(coords)[source]#

Validate that spatial coordinate array has correct shape.

Parameters:
coords ndarray

Array of spatial coordinates.

Raises:

ValueError – If coordinates are not 2D or 3D.

Return type:

None