pgstat¶
- gdt.core.spectra.fitting.pgstat(obs_counts, mod_rates, exposure, back_counts, back_var, back_exp)[source]¶
Profile Gaussian Likelihood. From the XSPEC Statistics Appendix.
- Parameters:
obs_counts (np.array) – The total observed counts
mod_rates (np.array) – The model source rates
exposure (float) – The source exposure
back_counts (np.array) – The background model counts
back_var (np.array) – The background model count variance
back_exp (float) – The background exposure
- Returns:
(float)