pysted.utils.pxsize_comp2

pysted.utils.pxsize_comp2(img_pixelsize, data_pixelsize)

Try number 2 for my float comparison function that hopefully will give the right values this time :)

Parameters:
  • img_pixelsize – Acquisition pixel size. Has to be a multiple of data_pixelsize (m).

  • data_pixelsize – Raw data pixelsize (m).

Returns:

Integer values of the pixelsizes which can later be used to compute ratios and stuff :)