From 8055f8051ac9c99232c3775cd3bd3253c37d259c Mon Sep 17 00:00:00 2001 From: James Nightingale Date: Mon, 16 Dec 2024 15:36:27 +0000 Subject: [PATCH] simplify grid over sampled API --- autogalaxy/galaxy/galaxy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autogalaxy/galaxy/galaxy.py b/autogalaxy/galaxy/galaxy.py index 3949b57a..b6418de6 100644 --- a/autogalaxy/galaxy/galaxy.py +++ b/autogalaxy/galaxy/galaxy.py @@ -328,8 +328,8 @@ def traced_grid_2d_from(self, grid: aa.type.Grid2DLike) -> aa.type.Grid2DLike: values=grid - self.deflections_yx_2d_from(grid=grid), mask=grid.mask, over_sampling_size=grid.over_sampling_size, - grid_over_sampled=grid.grid_over_sampled - self.deflections_yx_2d_from( - grid=grid.grid_over_sampled + over_sampled=grid.over_sampled - self.deflections_yx_2d_from( + grid=grid.over_sampled ) )