pysted.utils.pxsize_grid

pysted.utils.pxsize_grid(img_pixelsize, data_pixelsize, datamap)

Function which creates a grid of the pixels.

This can be iterated on based on the ratio between img_pixelsize and data_pixelsize. Imagine the laser is fixed on a grid and can only make discrete movements, and this grid size is determined by the ratio

Parameters:
  • img_pixelsize – Size of the minimum distance the laser must do between acquisitions (m). Must be a multiple of data_pixelsize.

  • data_pixelsize – Size of a pixel of the datamap (m).

  • datamap – Raw molecule dispotion on which we wish to do an acquisition.

Returns:

A list of the pixels which can be iterated on (?)