We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2a69d9 commit c672b6aCopy full SHA for c672b6a
galsim/shear.py
@@ -206,13 +206,13 @@ def getG2(self):
206
return self._g.imag
207
208
def getG(self):
209
- """Return the magnitude of the reduced shear |g1 + 1j * g2| = sqrt(g1**2 + g2**2)
+ """Return the magnitude of the reduced shear |g1 + i g2| = sqrt(g1**2 + g2**2)
210
Note: s.getG() is equivalent to s.g
211
"""
212
return abs(self._g)
213
214
def getBeta(self):
215
- """Return the position angle of the reduced shear g exp(2j beta) == g1 + 1j * g2
+ """Return the position angle of the reduced shear g exp(2i beta) == g1 + i g2
216
Note: s.getBeta() is equivalent to s.beta
217
218
return 0.5 * numpy.angle(self._g) * galsim.radians
0 commit comments