ptypy.utils.plot_utils.complex2hsv#
- ptypy.utils.plot_utils.complex2hsv(cin, vmin=0.0, vmax=None)#
Transforms a complex array into an RGB image, mapping phase to hue, amplitude to value and keeping maximum saturation.
- Parameters:
cin (ndarray) – Complex input. Must be two-dimensional.
vmin (float) – Clip amplitude of input into this interval.
vmax (float) – Clip amplitude of input into this interval.
- Returns:
rgb – Three dimensional output.
- Return type:
ndarray
See also