holotomocupy.utils¶
Functions:
mshow mshow_complex mshow_polar write_tiff read_tiff
- holotomocupy.utils.mshow(a, **args)[source]¶
Plot the 2D array, handling arrays on GPU
- Parameters
a ((ny, nx) float32) – 2D array for visualization
args – Other parameters for imshow
- holotomocupy.utils.mshow_complex(a, **args)[source]¶
Plot the 2D array in the rectangular representation with the real and imag parts, handling arrays on GPU
- Parameters
a ((ny, nx) complex64) – 2D array for visualization
args – Other parameters for imshow
- holotomocupy.utils.mshow_polar(a, **args)[source]¶
Plot the 2D array in the polar representation with the absolute value and phase, handling arrays on GPU
- Parameters
a ((ny, nx) complex64) – 2D array for visualization
args – Other parameters for imshow