pysted.utils.generate_raster_pixel_list

pysted.utils.generate_raster_pixel_list(n_pixels_to_add, starting_pixel, img)

Generates a pixel list of a raster scan of n_pixels_to_add pixels starting from starting_pixel

Parameters:
  • n_pixels_to_add – The number of pixels for which we want to image

  • starting_pixel – The starting point of our raster scan

  • img – the img in which the raster scan occurs

Returns:

A pixel list for the raster scan starting at starting_pixel