pysted.utils.pxsize_ratio

pysted.utils.pxsize_ratio(img_pixelsize, data_pixelsize)

Computes the ratio between the acquisition pixel size and the datamap pixel size

Parameters:
  • img_pixelsize – Minimum distance the laser must move during application. Multiple of data_pixelsize (m).

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

Returns:

the ratio between pixel sizes