get_xspec_norm

sherpa.astro.utils.get_xspec_norm(y: ndarray, mdl: ndarray) ValueAndRange[source] [edit on github]

Guess model normalization (XSPEC).

Estimate the normalization based on the data and model.

Parameters:
  • y (ndarray) – The data

  • mdl (ndarray) – The model evaluation on the same grid.