@@ -321,7 +321,7 @@ def test__image_and_exposure_times_range_of_values__background_has_value_9___noi
321321 def test__image_and_exposure_times_and_background_are_all_ranges_of_values__noise_estimates_correct (
322322 self
323323 ):
324- # Use same pattern as above, noting that we are now also using a variable background signal_to_noise_ratio map.
324+ # Use same pattern as above, noting that we are now also using a model background signal_to_noise_ratio map.
325325
326326 image = aa .array .manual_2d (array = [[5.0 , 3.0 ], [10.0 , 20.0 ]])
327327
@@ -2277,7 +2277,7 @@ def test__simulate_function__turns_exposure_time_and_sky_level_to_arrays(self):
22772277
22782278 background_sky_map = aa .array .full (fill_value = 16.0 , shape_2d = image .mask .shape )
22792279
2280- imaging_variable = aa .imaging .simulate (
2280+ imaging_model = aa .imaging .simulate (
22812281 image = image ,
22822282 exposure_time = 1.0 ,
22832283 exposure_time_map = exposure_time_map ,
@@ -2309,14 +2309,14 @@ def test__simulate_function__turns_exposure_time_and_sky_level_to_arrays(self):
23092309 )
23102310
23112311 assert (
2312- imaging_variable .exposure_time_map .in_2d
2312+ imaging_model .exposure_time_map .in_2d
23132313 == imaging_simulated .exposure_time_map .in_2d
23142314 ).all ()
2315- assert imaging_variable .image .in_2d == pytest .approx (
2315+ assert imaging_model .image .in_2d == pytest .approx (
23162316 imaging_simulated .image .in_2d , 1e-4
23172317 )
23182318 assert (
2319- imaging_variable .background_noise_map .in_2d
2319+ imaging_model .background_noise_map .in_2d
23202320 == imaging_simulated .background_noise_map .in_2d
23212321 ).all ()
23222322
0 commit comments