diff --git a/doc/find_dark.ipynb b/doc/find_dark.ipynb index b1c98c0..85584a9 100644 --- a/doc/find_dark.ipynb +++ b/doc/find_dark.ipynb @@ -281,7 +281,7 @@ " dark = I - lens.reshape(1, len(lens)) * fluo.reshape(len(fluo), 1)\n", " return dark, lens, fluo\n", "\n", - "print(estimate_dark(i, A, P, R, f_1=fluo[1]-fluo[0], F_1=fluo0))" + "print(estimate_dark_lens_fluo(i, A, P, R, f_1=fluo[1]-fluo[0], F_1=fluo0))" ] }, { @@ -297,8 +297,8 @@ "metadata": {}, "outputs": [], "source": [ - "print(estimate_dark(i, A, P, R, f_1=fluo[1]-fluo[0], F_1=fluo0+0.5))\n", - "print(estimate_dark(i, A, P, R, f_1=fluo[1]-fluo[0]+0.5, F_1=fluo0))\n" + "print(estimate_dark_lens_fluo(i, A, P, R, f_1=fluo[1]-fluo[0], F_1=fluo0+0.5))\n", + "print(estimate_dark_lens_fluo(i, A, P, R, f_1=fluo[1]-fluo[0]+0.5, F_1=fluo0))\n" ] }, { @@ -323,7 +323,7 @@ " def function_to_minimize(x):\n", " f_1 = x[0]\n", " F_1 = x[1]\n", - " dark_matrix = estimate_dark(I, A, P, R, f_1, F_1)\n", + " dark_matrix, lens, fluo = estimate_dark_lens_fluo(I, A, P, R, f_1, F_1)\n", " error = np.var(dark_matrix)\n", " return error\n", " \n",