Skip to content

Commit f589484

Browse files
author
Hengkai_Pmo_StarB
committed
multiply self._intensity
1 parent cd299a0 commit f589484

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

autogalaxy/profiles/light/standard/shapelets/polar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def image_2d_from(
226226
else:
227227
azimuthal = xp.cos((-1) * self.m * theta)
228228

229-
return const * radial * azimuthal
229+
return self._intensity * const * radial * azimuthal
230230

231231

232232
class ShapeletPolarSph(ShapeletPolar):

autogalaxy/profiles/light/standard/shapelets/polar_q_phi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def __init__(
169169
self.q = float(q)
170170

171171
super().__init__(
172-
centre=centre, beta=beta, ell_comps=al.convert.ell_comps_from(q,phi,np), intensity=intensity
172+
centre=centre, beta=beta, intensity=intensity
173173
)
174174

175175
@property
@@ -235,7 +235,7 @@ def image_2d_from(
235235
else:
236236
azimuthal = xp.cos((-1) * self.m * theta)
237237

238-
return const * radial * azimuthal
238+
return self._intensity * const * radial * azimuthal
239239

240240

241241
class ShapeletPolarSph(ShapeletPolar):

0 commit comments

Comments
 (0)