darsia.ContinuityBasedBalancingCalibrationMixin#
- class ContinuityBasedBalancingCalibrationMixin[source]#
Bases:
AbstractBalancingCalibrationCalibration balancing based on reducing jumps over interfaces for a given labeled image. Has to be combined with ConcentrationAnalysis.
Methods
calibrate_balancing(images, options)Utility for calibrating the balancing used in darsia.ConcentrationAnalysis.
optimize_balancing(images, options)Define objective function such that the root is the min.
update_balancing_for_calibration(parameters, ...)Wrapper for updating the balancing (provided as a model), depending on whether it is a single model or a combined model.
- optimize_balancing(images, options)[source]#
Define objective function such that the root is the min.
- Parameters:
- images
listofnp.ndarray Cleaned signal images to calibrate against.
- options
dict Dictionary with objective value, here the injection rate.
- images
- Returns:
np.ndarrayOptimized model parameters.
- bool
Success flag.