tracts.driver_utils.check_final_parameters#

check_final_parameters(demographic_model, optimal_params)#

Checks that the final optimal parameters are compatible will well-defined migration matrices.

Parameters:
  • demographic_model (ParametrizedDemography | ParametrizedDemographySexBiased) – The demographic model for which to check the final optimal parameters.

  • optimal_params (ndarray) – The final optimal parameters in physical units, as returned by the optimization process.