siibra.features.image.sections

Multimodal data features in 2D section.

Classes

BigBrain1MicronPatch

Base class for anatomically anchored data features.

CellbodyStainedSection

Base class for anatomically anchored data features.

Module Contents

class siibra.features.image.sections.BigBrain1MicronPatch(patch: siibra.locations.AxisAlignedPatch, profile: siibra.locations.Contour, section: CellbodyStainedSection, vertex: int, relevance: float, anchor: siibra.features.anchor.AnatomicalAnchor)
Inheritance diagram of siibra.features.image.sections.BigBrain1MicronPatch

Base class for anatomically anchored data features.

__repr__()
fetch(flip: bool = False, resolution_mm: float = -1, **kwargs)

Fetch a volumetric or surface representation from one of the providers.

Parameters:

format (str, default=None) –

Requested format. If None, the first supported format matching in self.formats is tried, starting with volumetric formats. It can be explicitly specified as:

  • ’surface’ or ‘mesh’ to fetch a surface format

  • ’volumetric’ or ‘voxel’ to fetch a volumetric format

  • supported format types, see SUPPORTED_FORMATS. This includes

’nii’, ‘zip/nii’, ‘neuroglancer/precomputed’, ‘gii-mesh’, ‘neuroglancer/precompmesh’, ‘gii-label’

Returns:

An image (Nifti1Image) or mesh (Dict[‘verts’

Return type:

ndarray, ‘faces’: ndarray, ‘labels’: ndarray])

get_boundingbox(**fetch_kwargs)

Enforce that the bounding box spans the full section thickness.

property bigbrain_section
property profile: siibra.locations.Contour
relevance
property section: CellbodyStainedSection
vertex
class siibra.features.image.sections.CellbodyStainedSection(**kwargs)
Inheritance diagram of siibra.features.image.sections.CellbodyStainedSection

Base class for anatomically anchored data features.