11.2.26. rheia.UQ.uncertainty_quantification.write_design_space

rheia.UQ.uncertainty_quantification.write_design_space(case, iteration, var_dict, sample, ds='design_space.csv')

A new design space file is created. In this file, the model parameters are copied from the original file, i.e. file:design_space. The design variable names are copied, but the bounds are loaded out of the array sample. This function is of interest when evaluating the LOO error or Sobol’ indices for several design samples.

Parameters
  • case (string) – The name of the case.

  • iteration (int) – The index of the design sample out of the collection of generated design samples.

  • var_dict (dict) – A dictionary which includes the design variables and their bounds.

  • sample (array) – The design sample out of the collection of generated design samples.

  • ds (string, optional) – The design_space filename. The default is ‘design_space’.