Skip to content

Commit 45b53ef

Browse files
Jammy2211Jammy2211
authored andcommitted
reviews
1 parent 9cfa1f3 commit 45b53ef

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

autoarray/dataset/imaging/dataset.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,13 +214,13 @@ def from_fits(
214214
hdu=psf_hdu,
215215
pixel_scales=pixel_scales,
216216
)
217+
psf = Convolver(
218+
kernel=kernel,
219+
)
217220

218221
else:
219222
kernel = None
220-
221-
psf = Convolver(
222-
kernel=kernel,
223-
)
223+
psf = None
224224

225225
return Imaging(
226226
data=data,

test_autoarray/inversion/inversion/test_abstract.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def test__curvature_matrix_via_sparse_operator__includes_source_interpolation__i
192192
[[0.0, 1.0, 0.0], [1.0, 1.0, 1.0], [0.0, 1.0, 0.0]], pixel_scales=1.0
193193
)
194194

195-
psf = aa.Convolver(kernel=kernel, pixel_scales=1.0)
195+
psf = aa.Convolver(kernel=kernel)
196196

197197
dataset = aa.Imaging(data=image, noise_map=noise_map, psf=psf)
198198

0 commit comments

Comments
 (0)