Sersic

pawlikMorphLSST.sersic.fitSersic(image: numpy.ndarray, centroid: List[float], fwhms: List[float], theta: float, starMask=None)

Function that fits a 2D sersic function to an image of a Galaxy.

Parameters
  • image (np.ndarray) – image to which a 2D Sersic function will be fit

  • centroid (List[float]) – Centre of object of interest

  • fwhms (List[float]) – Full width half maximums of object

  • theta (float) – rotation of object anticlockwise from positive x axis

  • starMask (np.ndarray) – Mask contains star locations.

Returns

Parameters – Collection of best fit parameters for the 2D sersic function

Return type

astropy.modeling.Model object