@@ -57,7 +57,7 @@ def test__perfect_fit__chi_squared_0():
5757 noise_map_path = path .join (file_path , "noise_map.fits" ),
5858 psf_path = path .join (file_path , "psf.fits" ),
5959 pixel_scales = 0.2 ,
60- over_sampling = al . OverSamplingDataset ( lp = 1 )
60+ over_sample_size_lp = 1
6161 )
6262
6363 mask = al .Mask2D .circular (
@@ -154,7 +154,7 @@ def test__simulate_imaging_data_and_fit__linear_light_profiles_agree_with_standa
154154
155155 masked_dataset = dataset .apply_mask (mask = mask )
156156 masked_dataset = masked_dataset .apply_over_sampling (
157- over_sampling = al . OverSamplingDataset ( lp = 1 )
157+ over_sample_size_lp = 1
158158 )
159159
160160 tracer = al .Tracer (galaxies = [lens_galaxy , source_galaxy ])
@@ -263,7 +263,7 @@ def test__simulate_imaging_data_and_fit__linear_light_profiles_and_pixelization(
263263
264264 masked_dataset = dataset .apply_mask (mask = mask )
265265 masked_dataset = masked_dataset .apply_over_sampling (
266- over_sampling = al . OverSamplingDataset ( lp = 1 )
266+ over_sample_size_lp = 1
267267 )
268268
269269 lens_galaxy_linear = al .Galaxy (
@@ -420,10 +420,8 @@ def test__simulate_imaging_data_and_fit__linear_light_profiles_and_pixelization_
420420 data = dataset .data ,
421421 psf = dataset .psf ,
422422 noise_map = dataset .noise_map ,
423- over_sampling = al .OverSamplingDataset (
424- lp = 2 ,
425- pixelization = 2
426- )
423+ over_sample_size_lp = 2 ,
424+ over_sample_size_pixelization = 2
427425 )
428426
429427 masked_dataset = dataset .apply_mask (mask = mask )
@@ -717,7 +715,7 @@ def test__fit_figure_of_merit__mge_mass_model(masked_imaging_7x7, masked_imaging
717715 noise_map_path = path .join (file_path , "noise_map.fits" ),
718716 psf_path = path .join (file_path , "psf.fits" ),
719717 pixel_scales = 0.2 ,
720- over_sampling = al . OverSamplingDataset ( lp = 8 )
718+ over_sample_size_lp = 8
721719 )
722720
723721 mask = al .Mask2D .circular (
@@ -747,7 +745,7 @@ def test__fit_figure_of_merit__mge_mass_model(masked_imaging_7x7, masked_imaging
747745 assert fit .chi_squared == pytest .approx (5.706423629698664e-05 , 1e-4 )
748746
749747 masked_dataset = masked_dataset .apply_over_sampling (
750- al . OverSamplingDataset ( lp = 8 )
748+ over_sample_size_lp = 8
751749 )
752750
753751 basis = al .lp_basis .Basis (
0 commit comments