cardioemulator.build_emulator_parametric¶
- cardioemulator.build_emulator_parametric(emulator_A, emulator_B, param_A, param_B, output_file=None, verbose=True)[source]¶
Build a parametric emulator, by interpolation of two emulators.
- Parameters
emulator_A (dict or str) – Dictionary encoding emulator A. This input can be provided as a dictionary or as the path to json file containing the dictionary.
emulator_B (dict or str) – Dictionary encoding emulator B. This input can be provided as a dictionary or as the path to json file containing the dictionary.
param_A (float) – Parameter associated with emulator A.
param_B (float) – Parameter associated with emulator B.
output_file (str, optional) – Path to a json file to store the dictionary encoding the parametric emulator.
verbose (bool, optional) – Flag to toggle verbosity.
- Returns
emulator – Parametric emulator.
- Return type