cortex.dataset.Volume.uniques

Volume.uniques(collapse=False)

Yield the underlying BrainData object(s) this view is built from.

For a plain Volume/Vertex, that’s just itself; composite views (VolumeRGB, VertexRGB, Volume2D, Vertex2D) override this to yield their individual channels instead.

Parameters:
collapsebool, optional

Unused here; accepted for interface compatibility with the composite-view overrides of this method.

Returns:
generator

Yields BrainData