metamod.deploy module¶
Module to assist the deployment of the surrogate.
-
metamod.deploy.get_input_coordinates(density, requested_dims, range_norm)¶ Obtain the grid samples.
Parameters: - density (int) – Sampling density of the reponse plot.
- requested_dims (list) – Input dimensions to plot.
- range_norm (np.array) – Range of validity in normalized coordinates.
Returns: Grid samples.
Return type: samples (np.array)
-
metamod.deploy.get_plotting_coordinates(density, requested_dims, dim_in, normalization_factors, range_norm, constants)¶ Obtain the grid samples for plotting.
Parameters: - density (int) – Sampling density of the reponse plot.
- requested_dims (list) – Input dimensions to plot.
- dim_in (int) – Number of input dimensions.
- normalization_factors (np.array) – Input normalization factors.
- range_norm (np.array) – Range of validity in normalized coordinates.
- constants (list) – Values of the fixed input dimensions.
Returns: Grid samples.
Return type: samples (np.array)