pyrad.util.get_cercle_coords#

pyrad.util.get_cercle_coords(x_centre, y_centre, radius=1000.0, resolution=16)[source]#

Get the points defining a cercle from the position of its centre and the radius

Parameters:
  • x_centre, y_centre (float) – The Cartesian coordinates of the center. Typically in m

  • radius (float) – the cercle radius. Typically in m

  • resolution (int) – The number of points used to define a quarter of the cercle

Returns:

x_roi, y_roi (array of floats) – The position of the points defining the cercle