diff --git a/notebooks/STIS/low_count_uncertainties/Low_Count_Uncertainties.ipynb b/notebooks/STIS/low_count_uncertainties/Low_Count_Uncertainties.ipynb index af7de3aa8..6b2e2473c 100644 --- a/notebooks/STIS/low_count_uncertainties/Low_Count_Uncertainties.ipynb +++ b/notebooks/STIS/low_count_uncertainties/Low_Count_Uncertainties.ipynb @@ -853,18 +853,22 @@ "def quadrature(scenario):\n", " return np.sqrt(np.sum([np.sqrt(i)**2 for i in scenario]))\n", "\n", + "\n", "def sum_sq(scenario):\n", " return np.sqrt(np.sum(scenario))\n", "\n", + "\n", "def pixel_err(scenario):\n", " return np.sqrt(np.sum(\n", " [(poisson_conf_interval(i, interval='frequentist-confidence')[1]-i)**2 \n", " for i in scenario]))\n", "\n", + "\n", "def upper_err(scenario):\n", " return (poisson_conf_interval(\n", " np.sum(scenario), interval='frequentist-confidence')[1]\n", - " - np.sum(scenario))\n", + " - np.sum(scenario))\n", + "\n", "\n", "print('Scenario 1: ', scenario1)\n", "print('Scenario 2: ', scenario2)\n",