pysted.utils.set_starting_pixel

pysted.utils.set_starting_pixel(previous_pixel, image_shape, ratio=1)

Return a value 1 pixel further from the last pixel of an acquisition list in an normal raster scan fashion.

Parameters:
  • previous_pixel – The pixel on which the previous raster scan stopped

  • image_shape – the shape of the ROI on which the raster scan is occuring

Returns:

The pixel on which the next raster scan should start