planckian_locus#
- agabpylib.plotting.agabcolormaps.planckian_locus(tbb)#
Interpolate the RGB values of the CIE colour on the Planckian locus in CIE space. Use the table http://www.vendian.org/mncharity/dir3/blackbody/UnstableURLs/bbr_color.html. Input temperatures outside the range [1000, 40000] K are clipped to that range.
- Parameters:
tbb (float) – Blackbody temperature in Kelvin
- Returns:
rint, gint, bint – sRGB R, G, B values normalized to [0,1]
- Return type:
float array