colour.plotting.phenomenon Module

Optical Phenomenon Plotting

Defines the optical phenomenons plotting objects:

colour.plotting.phenomenon.single_rayleigh_scattering_spd_plot(CO2_concentration=300, temperature=288.15, pressure=101325, latitude=0, altitude=0, cmfs='CIE 1931 2 Degree Standard Observer', **kwargs)[source]

Plots a single Rayleigh scattering spectral power distribution.

Parameters:
  • CO2_concentration (numeric, optional) – \(CO_2\) concentration in parts per million (ppm).
  • temperature (numeric, optional) – Air temperature \(T[K]\) in kelvin degrees.
  • pressure (numeric) – Surface pressure \(P\) of the measurement site.
  • latitude (numeric, optional) – Latitude of the site in degrees.
  • altitude (numeric, optional) – Altitude of the site in meters.
  • cmfs (unicode, optional) – Standard observer colour matching functions.
Other Parameters:
 
  • **kwargs (dict, optional) – {boundaries(), canvas(), decorate(), display()}, Please refer to the documentation of the previously listed definitions.
  • out_of_gamut_clipping (bool, optional) – {single_spd_plot()}, Whether to clip out of gamut colours otherwise, the colours will be offset by the absolute minimal colour leading to a rendering on gray background, less saturated and smoother. [1]_
Returns:

Current figure or None.

Return type:

Figure

Examples

>>> single_rayleigh_scattering_spd_plot()  
colour.plotting.phenomenon.the_blue_sky_plot(cmfs='CIE 1931 2 Degree Standard Observer', **kwargs)[source]

Plots the blue sky.

Parameters:cmfs (unicode, optional) – Standard observer colour matching functions.
Other Parameters:
 **kwargs (dict, optional) – {boundaries(), canvas(), decorate(), display()}, Please refer to the documentation of the previously listed definitions.
Returns:Current figure or None.
Return type:Figure

Examples

>>> the_blue_sky_plot()