--- myst: substitutions: macro: python: 1-5,11-40 cpp: 5-6,9-34 console: python: 2-68 cpp: 4-69 --- (use_cases_macro_calibration_circe)= # Macro "**calibrationCirce.{{extension}}**" ## Objective The goal here is to model the uncertainties and quantify the discrepancy between model outputs and experimental data using the **Circe** method on the dataset `"jdd_circe_summerschool2006_dataserver.dat"`. This dataset contains 150 patterns, each described by four attributes: - **"exp"**: name of the experimental attribute; - **"code"**: name of the code output attribute; - **"sens1"**: name of the attribute corresponding to the derivative of the code output with respect to the first parameter; - **"sens2"**: name of the attribute corresponding to the derivative of the code output with respect to the second parameter. {{ "```{literalinclude} " + parent_dir + "/roottest/uranie/references/calibration/jdd_circe_summerschool2006_dataserver.dat" + "\n" + ":language: none\n" + "```" }} ## Macro {{uranie}} After loading the reference dataset, the `TCirce` object can be constructed by specifying the reference {{tds}}, the name of the experimental attribute, the code output attribute, and the derivative attributes. It is then possible to set optional algorithm parameters before launching the process. Finally, the results are extracted and displayed in [](#use_cases_macro_calibration_circe_console). {{ "```{literalinclude} " + parent_dir + "/roottest/uranie/doc/calibration/use_cases/" + language + "/calibrationCirce." + extension + "\n" + ":language: " + language + "\n" + ":lines: " + macro[language] + "\n" + "```" }} (use_cases_macro_calibration_circe_console)= ## Console {{ "```{literalinclude} " + parent_dir + "/roottest/build/uranie/doc/calibration/use_cases/" + language + "/calibrationCirce_clean.log\n" + ":language: none\n" + ":lines: " + console[language] + "\n" + "```" }}