@@ -121,7 +121,7 @@ def figures_2d_of_pixelization(
121121 data_subtracted : bool = False ,
122122 reconstructed_image : bool = False ,
123123 reconstruction : bool = False ,
124- errors : bool = False ,
124+ reconstruction_noise_map : bool = False ,
125125 signal_to_noise_map : bool = False ,
126126 regularization_weights : bool = False ,
127127 sub_pixels_per_image_pixels : bool = False ,
@@ -145,8 +145,8 @@ def figures_2d_of_pixelization(
145145 Whether to make a 2D plot (via `imshow`) of the mapper's reconstructed image data.
146146 reconstruction
147147 Whether to make a 2D plot (via `imshow` or `fill`) of the mapper's source-plane reconstruction.
148- errors
149- Whether to make a 2D plot (via `imshow` or `fill`) of the mapper's source-plane errors .
148+ reconstruction_noise_map
149+ Whether to make a 2D plot (via `imshow` or `fill`) of the mapper's source-plane noise-map .
150150 signal_to_noise_map
151151 Whether to make a 2D plot (via `imshow` or `fill`) of the mapper's source-plane signal-to-noise-map.
152152 sub_pixels_per_image_pixels
@@ -236,11 +236,11 @@ def figures_2d_of_pixelization(
236236 if vmax_custom :
237237 self .mat_plot_2d .cmap .kwargs ["vmax" ] = None
238238
239- if errors :
239+ if reconstruction_noise_map :
240240 try :
241241 mapper_plotter .plot_source_from (
242- pixel_values = self .inversion .errors_dict [mapper_plotter .mapper ],
243- auto_labels = AutoLabels (title = "Errors " , filename = "errors " ),
242+ pixel_values = self .inversion .reconstruction_noise_map_dict [mapper_plotter .mapper ],
243+ auto_labels = AutoLabels (title = "Noise Map " , filename = "reconstruction_noise_map " ),
244244 )
245245
246246 except TypeError :
@@ -250,7 +250,7 @@ def figures_2d_of_pixelization(
250250 try :
251251 signal_to_noise_values = (
252252 self .inversion .reconstruction_dict [mapper_plotter .mapper ]
253- / self .inversion .errors_dict [mapper_plotter .mapper ]
253+ / self .inversion .reconstruction_noise_map_dict [mapper_plotter .mapper ]
254254 )
255255
256256 mapper_plotter .plot_source_from (
@@ -388,9 +388,9 @@ def subplot_of_mapper(
388388 )
389389 self .set_title (label = None )
390390
391- self .set_title (label = "Errors (Unzoomed)" )
391+ self .set_title (label = "Noise-Map (Unzoomed)" )
392392 self .figures_2d_of_pixelization (
393- pixelization_index = mapper_index , errors = True , zoom_to_brightest = False
393+ pixelization_index = mapper_index , reconstruction_noise_map = True , zoom_to_brightest = False
394394 )
395395
396396 self .set_title (label = "Regularization Weights (Unzoomed)" )
0 commit comments