Skip to content

Commit

Permalink
imitate tracer api for point solver
Browse files Browse the repository at this point in the history
  • Loading branch information
rhayes777 committed Sep 30, 2024
1 parent 3d7c597 commit 93efbfb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions autogalaxy/operate/deflections.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,13 @@ class OperateDeflections:
The function which returns the mass object's 2D deflection angles.
"""

@property
def plane_redshifts(self) -> List[float]:
return []

def deflections_between_planes_from(self, grid, plane_i: int, plane_j: int):
return self.deflections_yx_2d_from(grid=grid)

def deflections_yx_2d_from(self, grid: aa.type.Grid2DLike, **kwargs):
raise NotImplementedError

Expand Down

0 comments on commit 93efbfb

Please sign in to comment.