bento.tl.radius

bento.tl.radius(sdata, shape_key, recompute=False)

Compute the radius of each cell.

Parameters:

sdata (SpatialData) – Spatial formatted SpatialData

Returns:

.shapes[shape_key][‘{shape}_radius’]np.array

Radius of each polygon in obs[‘cell_shape’]