stacked_seds.photometry.get_radial_profile

stacked_seds.photometry.get_radial_profile(data, center)[source]

Calculates the azimuthally averaged radial profile of an image.

Parameters:
  • data (np.ndarray) – The 2D image data.

  • center (tuple) – The (x, y) coordinates of the center.

Returns:

A tuple containing:
  • np.ndarray: The radial distance of each bin in pixels.

  • np.ndarray: The mean flux value in each radial bin.

  • np.ndarray: The standard error of the mean flux in each bin.

Return type:

tuple