get_pvalue_results

sherpa.astro.ui.get_pvalue_results()

Return the data calculated by the last plot_pvalue call.

Returns:plot – None is returned if neither plot_pvalue or get_pvalue_pvalue have been run.
Return type:a sherpa.sim.simulate.LikelihoodRatioResults instance

See also

plot_value()
Compute and plot a histogram of likelihood ratios by simulating data.
get_pvalue_plot()
Return the data used by plot_pvalue.

Examples

>>> res = get_pvalue_results()
>>> res.ppp
0.472