diff --git a/notebooks/interferometer/fit.ipynb b/notebooks/interferometer/fit.ipynb index dc962e3c..fea5768a 100644 --- a/notebooks/interferometer/fit.ipynb +++ b/notebooks/interferometer/fit.ipynb @@ -285,30 +285,6 @@ " - The `normalized_residual_map`: The `residual_map `divided by the observed dataset's `noise_map`.\n", " - The `chi_squared_map`: The `normalized_residual_map` squared.\n", "\n", - "For a good galaxy model where the model and galaxies are representative of the dataset\n", - "residuals, normalized residuals and chi-squareds are minimized:" - ] - }, - { - "cell_type": "code", - "metadata": {}, - "source": [ - "aplt.plot_array(array=fit.residual_map.real, title=\"Residual Map (Real)\")\n", - "fit_plotter.figures_2d(\n", - " residual_map_imag=True,\n", - " normalized_residual_map_real=True,\n", - " normalized_residual_map_imag=True,\n", - " chi_squared_map_real=True,\n", - " chi_squared_map_imag=True,\n", - ")" - ], - "outputs": [], - "execution_count": null - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ "A subplot can be plotted which contains all of the above quantities, as well as other information contained in the\n", "galaxies such as the image and a normalized residual map where the colorbar\n", "goes from 1.0 sigma to -1.0 sigma, to highlight regions where the fit is poor." diff --git a/scripts/interferometer/fit.py b/scripts/interferometer/fit.py index 00d49df2..caf4dcf6 100644 --- a/scripts/interferometer/fit.py +++ b/scripts/interferometer/fit.py @@ -173,19 +173,6 @@ - The `normalized_residual_map`: The `residual_map `divided by the observed dataset's `noise_map`. - The `chi_squared_map`: The `normalized_residual_map` squared. -For a good galaxy model where the model and galaxies are representative of the dataset -residuals, normalized residuals and chi-squareds are minimized: -""" -aplt.plot_array(array=fit.residual_map.real, title="Residual Map (Real)") -fit_plotter.figures_2d( - residual_map_imag=True, - normalized_residual_map_real=True, - normalized_residual_map_imag=True, - chi_squared_map_real=True, - chi_squared_map_imag=True, -) - -""" A subplot can be plotted which contains all of the above quantities, as well as other information contained in the galaxies such as the image and a normalized residual map where the colorbar goes from 1.0 sigma to -1.0 sigma, to highlight regions where the fit is poor.