jet

pyvsim.Utils.jet(value, minval=None, maxval=None, saturationIndicator=False)[source]

Returns the RGB values to emulate a “jet” colormap from Matlab

Parameters :

value : numpy.ndarray \((N)\)

The value to be represented by the colormap

minval : float

The minimum value of the scale. Defaults to the minimum of the values in the parameter “value”

maxval : float

The maximum value of the scale. Defaults to the maximum of the values in the parameter “value”.

saturationIndication : boolean

Substitute the default saturation values (red and blue) for white, providing better contrast when saturated values are of interest.

This Page