darsia.AbsoluteVolumeModelObjectiveMixin#

class AbsoluteVolumeModelObjectiveMixin[source]#

Bases: AbstractModelObjective

Calibration model based on matching injection rates. Has to be combined with ConcentrationAnalysis.

Methods

calibrate_model(images, options[, plot_result])

Utility for calibrating the model used in darsia.ConcentrationAnalysis.

define_objective_function(input_images, ...)

Define objective function such that the root is the min.

update_model_for_calibration(parameters, options)

Wrapper for updating the model, depending on whether it is a single model or a combined model.

define_objective_function(input_images, images_diff, times, options)[source]#

Define objective function such that the root is the min.

Parameters:
input_imageslist of np.ndarray

Input for _convert_signal.

images_difflist of np.ndarray

Plain differences wrt background image.

timeslist of float

Times.

optionsdict

Dictionary with objective value, here the injection rate.

Returns:
callable()

Objetive function.