Skip to content

Commit

Permalink
minor documentation change for light_3d
Browse files Browse the repository at this point in the history
  • Loading branch information
sibirrer committed May 17, 2024
1 parent e483cf5 commit bd8963b
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions lenstronomy/LightModel/light_model_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,15 @@ def surface_brightness(self, x, y, kwargs_list, k=None):
return flux

def light_3d(self, r, kwargs_list, k=None):
"""Computes 3d density at radius r :param r: 3d radius units of arcsec relative
to the center of the light profile :param kwargs_list: keyword argument list of
light profile :param k: integer or list of integers for selecting subsets of
light profiles."""
"""Computes 3d density at radius r (3D radius)
such that integrated in projection in units of angle results in the projected surface brightness
:param r: 3d radius units of arcsec relative to the center of the light profile
:param kwargs_list: keyword argument list of light profile
:param k: integer or list of integers for selecting subsets of light profiles.
:return: flux density
"""
kwargs_list_standard = self._transform_kwargs(kwargs_list)
r = np.array(r, dtype=float)
flux = np.zeros_like(r)
Expand Down

0 comments on commit bd8963b

Please sign in to comment.