Skip to content

Commit 74abe49

Browse files
committed
variable -> model
1 parent dfb6e99 commit 74abe49

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

test_autoarray/unit/dataset/test_imaging.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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

test_autoarray/unit/util/test_regularization_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def test__4_b_matrices_size_6x6__weights_all_1s__makes_correct_regularization_ma
394394
test_regularization_matrix, 1.0e-4
395395
)
396396

397-
def test__2_b_matrices_size_4x4_variables_regularization_weights__makes_correct_regularization_matrix(
397+
def test__2_b_matrices_size_4x4_models_regularization_weights__makes_correct_regularization_matrix(
398398
self
399399
):
400400
# Simple case, where we have just one regularization direction, regularizing pixel 0 -> 1 and 1 -> 2.

0 commit comments

Comments
 (0)