Additional cell
"gaussian_sigmas = np.sqrt(TS.T)"
]
},
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "Notice that, as explained before, $1\\sigma$ contour obtained this way will not contain 68% of the probability, but rather "
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "# Compute the corresponding statistical significance surface\n",
+ "# p_value = 1 - st.chi2(df=1).cdf(TS)\n",
+ "# gaussian_sigmas = st.norm.isf(p_value / 2).T"
+ ]
+ },
{
"cell_type": "markdown",
"metadata": {},
