pyhf.infer.calculators.generate_asimov_data

pyhf.infer.calculators.generate_asimov_data(asimov_mu, data, pdf, init_pars, par_bounds)[source]

Compute Asimov Dataset (expected yields at best-fit values) for a given POI value.

Parameters
  • asimov_mu (float) – The value for the parameter of interest to be used.

  • data (tensor) – The observed data.

  • pdf (Model) – The statistical model adhering to the schema model.json.

  • init_pars (tensor) – The initial parameter values to be used for fitting.

  • par_bounds (tensor) – The parameter value bounds to be used for fitting.

Returns

The Asimov dataset.

Return type

Tensor