darsia.HeterogeneousModel#

class HeterogeneousModel(obj, labels, ignore_labels=None)[source]#

Bases: Model

Apply a different Model per region of a labelled image.

Methods

calibrate()

Calibration routine of model.

keys()

update_model_parameters(parameters[, dofs])

Update routine of model parameters.

Attributes

masks

Masks for each label in the image.

ignore_labels

Labels to ignore for signals.

obj

Dictionary of models for each label.

ignore_labels#

Labels to ignore for signals.

masks#

Masks for each label in the image.

obj#

Dictionary of models for each label.