darsia.AbsoluteVolumeModelObjectiveMixin#
- class AbsoluteVolumeModelObjectiveMixin[source]#
Bases:
AbstractModelObjectiveCalibration 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_images
listofnp.ndarray Input for _convert_signal.
- images_diff
listofnp.ndarray Plain differences wrt background image.
- times
listoffloat Times.
- options
dict Dictionary with objective value, here the injection rate.
- input_images
- Returns:
callable()Objetive function.