SubjectContext

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 SubjectContext(subject: Subject, habitat_map: HabitatMap, model: HabitatModel)[source]

Bases: object

Parent-process view of one completed subject.

subject

The cohort subject (images still addressable).

Type:

habit.contracts.subject.Subject

habitat_map

Habitat label image, still in memory at consume time.

Type:

habit.contracts.habitat.HabitatMap

model

This subject’s habitat definition (one-step) or the cohort model being applied.

Type:

habit.contracts.habitat.HabitatModel

__init__(subject: Subject, habitat_map: HabitatMap, model: HabitatModel) → None