ImageFile.Stoner__Image__imagefuncs__radial_coordinates

ImageFile.Stoner__Image__imagefuncs__radial_coordinates(centre=(None, None), pixel_size=(1, 1), angle=False)

Rerurn a map of the radial co-ordinates of an image from a given centre, with adjustments for pixel size.

Keyword Arguments
  • centre (2-tuple) – Co-ordinates of centre point in terms of the orginal pixels. Defaults to(None,None) for the middle of the image.

  • pixel_size (2-tuple) – The size of one pixel in (dx by dy) - defaults to 1,1

  • angle (bool, None) – Whether to return the angles (in radians, True), distances (False) o a complex number (None).

Returns

An array of the same class as the input, but with values corresponding to the radial co-ordinates.