arpes.simulation.cloud_to_arr

arpes.simulation.cloud_to_arr(point_cloud, shape) numpy.ndarray[source]

Converts a point cloud (list of xy pairs) to an array representation.

Uses linear interpolation for points that have non-integral coordinates.

Parameters
  • point_cloud – The sampled set of electrons.

  • shape – The shape of the desired output array.

Returns

An array with the electron arrivals smeared into it.