HabitatFeatureTree
Note
This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.
- class HabitatFeatureTree(spec: Spec)[source]
Bases:
_FeatureTreeBaseEvaluate a habitat-level feature tree into one
FeatureTable.Children produce one-row-per-subject tables; the combiner merges their feature columns and the result is wrapped back with the first child’s column roles.
- __call__(subject: Subject, habitat_map: HabitatMap) FeatureTable[source]
Compute the composed habitat features for one subject.
- Parameters:
subject – Subject supplying original images when a child family needs intensity information.
habitat_map – Habitat labels for that subject.
- Returns:
A single-row-per-subject feature table with explicit column roles.