PyDDM.ddm_calc.find_radial_average

PyDDM.ddm_calc.find_radial_average

find_radial_average(im, mask=None, centralAngle=None, angRange=None, remove_vert_line=True, remove_hor_line=False)

Computes the radial average of a single 2D matrix.

Parameters
  • im (array) – Matrix to radially average

  • mask (array or None, optional) – If desired, use a mask to avoid radially averaging the whole array. The default is None.

  • centralAngle (float) – Central angle of the angular range to average over

  • angRange (float) – Range to overage over.

Returns

Radial average of the passed array im

Return type

array