darsia.StaticThresholdModel#

class StaticThresholdModel(threshold_lower=0.0, threshold_upper=None, labels=None, return_float=False)[source]#

Bases: Model

Class for static thresholding.

Constructor of StaticThresholdModel.

Parameters:
threshold_lowerfloat or list of float

Lower threshold value(s).

threshold_upperfloat or list of float

Upper threshold value(s).

labelsarray

Labeled domain.

return_floatbool

Flag controlling whether the output is a float or boolean.

Methods

calibrate()

Calibration routine of model.

update_model_parameters(*args)