flasc.model_fitting.floris_tuning.select_best_wd_std

flasc.model_fitting.floris_tuning.select_best_wd_std#

flasc.model_fitting.floris_tuning.select_best_wd_std(er_results, value_candidates, ax=None)[source]#

Consider wd_std and determine the best fit with respect to squared error.

Parameters:
  • er_results (np.ndarray) -- The energy ratio errors

  • value_candidates (np.ndarray) -- The parameter values

  • ax (Axes) -- The axes to plot on. If None, no plot is made. Default is None.

Returns:

The best parameter value

Return type:

float