Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions autogalaxy/analysis/plotter_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def should_plot(name):
reconstructed_image=should_plot("reconstructed_image"),
reconstruction=should_plot("reconstruction"),
mesh_pixels_per_image_pixels=should_plot("mesh_pixels_per_image_pixels"),
errors=should_plot("errors"),
reconstruction_noise_map=should_plot("reconstruction_noise_map"),
regularization_weights=should_plot("regularization_weights"),
)

Expand Down Expand Up @@ -347,7 +347,7 @@ def should_plot(name):
pixelization_index=0,
reconstructed_image=True,
reconstruction=True,
errors=True,
reconstruction_noise_map=True,
regularization_weights=True,
)

Expand All @@ -366,7 +366,7 @@ def should_plot(name):
pixelization_index=0,
reconstructed_image=True,
reconstruction=True,
errors=True,
reconstruction_noise_map=True,
regularization_weights=True,
interpolate_to_uniform=True,
)
Expand Down
6 changes: 3 additions & 3 deletions autogalaxy/config/visualize/plots.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ inversion: # Settings for plots of inversions (e
all_at_end_fits: true # Plot all individual plots listed below as .fits (even if False)?
all_at_end_pdf: false # Plot all individual plots listed below as publication-quality .pdf (even if False)?
data_subtracted: false # Plot individual plots of the data with the other inversion linear objects subtracted?
errors: false # Plot image of the errors of every mesh-pixel reconstructed value?
sub_pixels_per_image_pixels: false # Plot the number of sub pixels per masked data pixels?
mesh_pixels_per_image_pixels: false # Plot the number of image-plane mesh pixels per masked data pixels?
reconstruction_noise_map: false # Plot image of the noise of every mesh-pixel reconstructed value?
sub_pixels_per_image_pixels: false # Plot the number of sub pixels per masked data pixels?
mesh_pixels_per_image_pixels: false # Plot the number of image-plane mesh pixels per masked data pixels?
reconstructed_image: false # Plot image of the reconstructed data (e.g. in the image-plane)?
reconstruction: false # Plot the reconstructed inversion (e.g. the pixelization's mesh in the source-plane)?
regularization_weights: false # Plot the effective regularization weight of every inversion mesh pixel?
Expand Down
5 changes: 4 additions & 1 deletion test_autogalaxy/analysis/test_plotter_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ def test__inversion(

assert path.join(plot_path, "reconstructed_image.png") in plot_patch.paths
assert path.join(plot_path, "reconstruction.png") in plot_patch.paths
assert path.join(plot_path, "inversion", "errors.png") not in plot_patch.paths
assert (
path.join(plot_path, "inversion", "reconstruction_noise_map.png")
not in plot_patch.paths
)
assert path.join(plot_path, "regularization_weights.png") not in plot_patch.paths


Expand Down
2 changes: 1 addition & 1 deletion test_autogalaxy/config/visualize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ plots:
inversion:
all_at_end_png: false
chi_squared_map: true
errors: false
reconstruction_noise_map: false
interpolated_errors: true
interpolated_reconstruction: true
normalized_residual_map: false
Expand Down
2 changes: 1 addition & 1 deletion test_autogalaxy/plot/mat_wrap/config/visualize/plots.ini
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ all_at_end_png=False
subplot_inversion=True
reconstructed_image=False
reconstruction=False
errors=False
reconstruction_noise_map=False
residual_map=False
normalized_residual_map=False
chi_squared_map=False
Expand Down