magpack.image_utils.complex_color#
- complex_color(z, saturation=0.6, log=False)#
Applies complex domain coloring to a 3D vector field.
- Parameters:
- znp.ndarray
Input complex number.
- saturationfloat
Color saturation value between 0…1.
- logbool
Boolean option for logarithmic coloring according to the magnitude.
- Returns:
- np.ndarray
RBG array with shape (input_shape, 3) for plotting.