Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions autoarray/dataset/imaging/simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,14 @@ def via_image_from(

if self.use_real_space_convolution:
image = self.psf.convolved_image_via_real_space_from(
image=image, blurring_image=None, xp=xp,
image=image,
blurring_image=None,
xp=xp,
)
else:
image = self.psf.convolved_image_from(image=image, blurring_image=None, xp=xp)
image = self.psf.convolved_image_from(
image=image, blurring_image=None, xp=xp
)
Comment on lines 139 to +148
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR title suggests a division-by-zero bug fix ("ell_comps_division_0_bug_fix"), but the changes in this PR appear to be formatting-only (argument wrapping / whitespace). Please align the title/description with the actual changes, or include the intended bug fix in this PR.

Copilot uses AI. Check for mistakes.

image = image + background_sky_map

Expand Down
2 changes: 0 additions & 2 deletions test_autoarray/geometry/test_geometry_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -972,8 +972,6 @@ def test__pixel_coordinates_2d_from():
assert scaled_coordinates == (0.0, 6.0)




def test__pixel_coordinates_wcs_2d_from():
# -----------------------------
# (2,2) grid: centre is (1.5, 1.5) in WCS pixels
Expand Down
Loading