factory module¶
A factory to post-process a CalibrationScenario
.
- class gemseo_calibration.post.factory.CalibrationPostFactory[source]¶
Bases:
PostFactory
A factory for calibration post-processing.
- create(opt_problem, reference_data, prior_model_data, posterior_model_data, post_name)[source]¶
Create the post-processing.
- Parameters:
opt_problem (OptimizationProblem) – The optimization problem containing the data to post-process.
reference_data (Dataset) – The reference data used during the calibration stage.
prior_model_data (Dataset) – The model data before the calibration stage.
posterior_model_data (Dataset) – The model data after the calibration stage.
post_name (str) – The name of the post-processing method.
- Returns:
The post-processing of the optimization problem.
- Return type:
- execute(opt_problem, reference_data, prior_model_data, posterior_model_data, post_name, **options)[source]¶
Compute the post-processing.
- Parameters:
opt_problem (str | OptimizationProblem) – The optimization problem containing the data to post-process.
reference_data (Dataset) – The reference data used during the calibration stage.
prior_model_data (Dataset) – The model data before the calibration stage.
posterior_model_data (Dataset) – The model data after the calibration stage.
post_name (str) – The name of the post-processing method.
**options – The options of the post-processing method.
- Returns:
The executed post-processing of the optimization problem.
- Return type:
- is_available(name)¶
Check the availability of a post-processor.