How to use the autogalaxy.plot.FitInterferometer.residual_map_vs_uv_distances function in autogalaxy

To help you get started, we’ve selected a few autogalaxy examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Jammy2211 / PyAutoLens / autolens / plot / fit_interferometer_plots.py View on Github external
def subplot_fit_interferometer(fit, include=None, sub_plotter=None):

    number_subplots = 6

    sub_plotter.open_subplot_figure(number_subplots=number_subplots)

    sub_plotter.setup_subplot(number_subplots=number_subplots, subplot_index=1)

    ag.plot.FitInterferometer.residual_map_vs_uv_distances(
        fit=fit, include=include, plotter=sub_plotter
    )

    sub_plotter.setup_subplot(number_subplots=number_subplots, subplot_index=2)

    ag.plot.FitInterferometer.normalized_residual_map_vs_uv_distances(
        fit=fit, include=include, plotter=sub_plotter
    )

    sub_plotter.setup_subplot(number_subplots=number_subplots, subplot_index=3)

    ag.plot.FitInterferometer.chi_squared_map_vs_uv_distances(
        fit=fit, include=include, plotter=sub_plotter
    )

    sub_plotter.setup_subplot(number_subplots=number_subplots, subplot_index=4)
github Jammy2211 / PyAutoLens / autolens / plot / fit_interferometer_plots.py View on Github external
sub_plotter.setup_subplot(number_subplots=number_subplots, subplot_index=2)

    ag.plot.FitInterferometer.normalized_residual_map_vs_uv_distances(
        fit=fit, include=include, plotter=sub_plotter
    )

    sub_plotter.setup_subplot(number_subplots=number_subplots, subplot_index=3)

    ag.plot.FitInterferometer.chi_squared_map_vs_uv_distances(
        fit=fit, include=include, plotter=sub_plotter
    )

    sub_plotter.setup_subplot(number_subplots=number_subplots, subplot_index=4)

    ag.plot.FitInterferometer.residual_map_vs_uv_distances(
        fit=fit, plot_real=False, include=include, plotter=sub_plotter
    )

    sub_plotter.setup_subplot(number_subplots=number_subplots, subplot_index=5)

    ag.plot.FitInterferometer.normalized_residual_map_vs_uv_distances(
        fit=fit, plot_real=False, include=include, plotter=sub_plotter
    )

    sub_plotter.setup_subplot(number_subplots=number_subplots, subplot_index=6)

    ag.plot.FitInterferometer.chi_squared_map_vs_uv_distances(
        fit=fit, plot_real=False, include=include, plotter=sub_plotter
    )

    sub_plotter.output.subplot_to_figure()
github Jammy2211 / PyAutoLens / autolens / plot / fit_interferometer_plots.py View on Github external
if plot_signal_to_noise_map:

        ag.plot.FitInterferometer.signal_to_noise_map(
            fit=fit, include=include, plotter=plotter
        )

    if plot_model_visibilities:

        ag.plot.FitInterferometer.model_visibilities(
            fit=fit, include=include, plotter=plotter
        )

    if plot_residual_map:

        ag.plot.FitInterferometer.residual_map_vs_uv_distances(
            fit=fit, plot_real=True, include=include, plotter=plotter
        )

        ag.plot.FitInterferometer.residual_map_vs_uv_distances(
            fit=fit, plot_real=False, include=include, plotter=plotter
        )

    if plot_normalized_residual_map:

        ag.plot.FitInterferometer.normalized_residual_map_vs_uv_distances(
            fit=fit, plot_real=True, include=include, plotter=plotter
        )

        ag.plot.FitInterferometer.normalized_residual_map_vs_uv_distances(
            fit=fit, plot_real=False, include=include, plotter=plotter
        )