Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
Jammy2211 committed Nov 13, 2024
1 parent 9013366 commit 813c346
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion autogalaxy/gui/clicker.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


class Clicker:
def __init__(self, image, pixel_scales, search_box_size, in_pixels : bool = False):
def __init__(self, image, pixel_scales, search_box_size, in_pixels: bool = False):
self.image = image

pixel_scales = aa.util.geometry.convert_pixel_scales_2d(
Expand Down
4 changes: 2 additions & 2 deletions autogalaxy/profiles/mass/total/power_law_multipole.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def deflections_yx_2d_from(
* self.einstein_radius ** (self.slope - 1.0)
* radial_grid ** (2.0 - self.slope)
)
/ (self.m**2.0 - (3.0 - self.slope)**2.0)
/ (self.m**2.0 - (3.0 - self.slope) ** 2.0)
* self.k_m
* np.cos(self.m * (polar_angle_grid - self.angle_m))
)
Expand All @@ -182,7 +182,7 @@ def deflections_yx_2d_from(
* self.einstein_radius ** (self.slope - 1.0)
* radial_grid ** (2.0 - self.slope)
)
/ (self.m**2.0 - (3.0 - self.slope)**2.0)
/ (self.m**2.0 - (3.0 - self.slope) ** 2.0)
* self.k_m
* np.sin(self.m * (polar_angle_grid - self.angle_m))
)
Expand Down

0 comments on commit 813c346

Please sign in to comment.