rayoptics.util.rgb2mpl module

convert RGB data to matplotlib format

rgb2mpl(rgb)[source]

convert 8 bit RGB data to 0 to 1 range for mpl