ellipticity¶
-
lsst.validate.drp.util.
ellipticity
(I_xx, I_xy, I_yy)¶ Calculate ellipticity from second moments.
Parameters: - I_xx : float or numpy.array
- I_xy : float or numpy.array
- I_yy : float or numpy.array
Returns: - e, e1, e2 : (float, float, float) or (numpy.array, numpy.array, numpy.array)
Complex ellipticity, real component, imaginary component