fastpli.analysis.images.to_image_space

to_image_space(data)[source]

Return xyz data with lower origin to yxz ordered with upper origin suitable for most image visualization libraries like matplotlib.

Returns

  • res (np.ndarray) – reordered view of original data

  • Note – Alternative use plt.imshow(np.swapaxes(data, 0, 1), origin=’lower’)