siibra.core.assignment
Qualification between two BrainStructures
Attributes
Classes
Represents a qualified assignment between anatomical structures. |
|
Generic enumeration. |
Module Contents
- class siibra.core.assignment.AnatomicalAssignment

Represents a qualified assignment between anatomical structures.
- __lt__(other: AnatomicalAssignment)
- __str__()
- invert()
- assigned_structure: siibra.core.structure.BrainStructure
- explanation: str = ''
- property is_exact
- qualification: Qualification
- query_structure: siibra.core.structure.BrainStructure
- class siibra.core.assignment.Qualification

Generic enumeration.
Derive from this class to define new enumerations.
- __lt__(other: Qualification)
This is used to sort feature query results. Since it is very difficult to determine a well-ordering principle and it is difficult to sort without one, the enum values are used for sorting. This means not all comparisons have logical basis but they are well-defined, making it reproducible but also clearly distinguishes important comparisons.
- __repr__()
- __str__()
- invert()
Return qualification with the inverse meaning
- static parse_relation_assessment(spec: Dict)
- APPROXIMATE = 2
- CONTAINED = 4
- CONTAINS = 5
- EXACT = 1
- HOMOLOGOUS = 7
- OTHER_VERSION = 3
- OVERLAPS = 6
- property verb
a string that can be used as a verb in a sentence for producing human-readable messages.
- siibra.core.assignment.T