Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rhayes777 committed Sep 30, 2024
1 parent 93efbfb commit 6b94371
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 @@ -106,9 +106,16 @@ class OperateDeflections:

@property
def plane_redshifts(self) -> List[float]:
"""
Imitating tracer API but with no planes
"""
return []

def deflections_between_planes_from(self, grid, plane_i: int, plane_j: int):
"""
Assumes a simple OperateDeflections object (e.g. mass profile) that only has
a single plane of deflections
"""
return self.deflections_yx_2d_from(grid=grid)

def deflections_yx_2d_from(self, grid: aa.type.Grid2DLike, **kwargs):
Expand Down

0 comments on commit 6b94371

Please sign in to comment.