squidpy.im.ImageContainer.compute

ImageContainer.compute(layer=None)[source]

Trigger lazy computation in-place.

Parameters

layer (Optional[str]) – Layer which to compute. If None, compute all layers.

Return type

ImageContainer

Returns

Modifies and returns self.