siibra.core.structure

Abstract base class for any kind of brain structure. A brain structure is more general than a brain region. It refers to any object defining a spatial extent in one or more reference spaces, and can thus be used to compute intersections with other structures in space. For example, a brain region is a structure which is at the same time an AtlasConcept. A bounding box in MNI space is a structure, but not an AtlasConcept.

Module Contents

Classes

BrainStructure

Abstract base class for types who can act as a location filter.

class siibra.core.structure.BrainStructure
Inheritance diagram of siibra.core.structure.BrainStructure

Abstract base class for types who can act as a location filter.

__contains__(other: BrainStructure) bool
__hash__() int

Return hash(self).

abstract __repr__() str

Return repr(self).

assign(other: BrainStructure) siibra.core.assignment.AnatomicalAssignment

Compute assignment of a BrainStructure to this filter.

Parameters:

other (Location or Region) –

Returns:

None if there is no AssignmentQualification found.

Return type:

assignment.AnatomicalAssignment or None

abstract intersection(other: BrainStructure) BrainStructure

Return the intersection of two BrainStructures, ie. the other BrainStructure filtered by this BrainStructure.

intersects(other: BrainStructure) bool

Whether or not two BrainStructures have any intersection.