validate_sim_data#

validate_sim_data(data=None, die=None)[source]#

Validate data intended to be compared to the sim outputs, e.g. for calibration

Parameters:
  • data (df/dict) – a dataframe (or dict) of data, with a column “time” plus data columns of the form “module.result”, e.g. “hiv.new_infections”

  • die (bool) – whether to raise an exception if the data cannot be converted (default: die if data is not None but cannot be converted)