colour.plotting.plot_single_sd_rayleigh_scattering#
- colour.plotting.plot_single_sd_rayleigh_scattering(CO2_concentration: ArrayLike = CONSTANT_STANDARD_CO2_CONCENTRATION, temperature: ArrayLike = CONSTANT_STANDARD_AIR_TEMPERATURE, pressure: ArrayLike = CONSTANT_AVERAGE_PRESSURE_MEAN_SEA_LEVEL, latitude: ArrayLike = CONSTANT_DEFAULT_LATITUDE, altitude: ArrayLike = CONSTANT_DEFAULT_ALTITUDE, cmfs: colour.colorimetry.spectrum.MultiSpectralDistributions | str | collections.abc.Sequence[colour.colorimetry.spectrum.MultiSpectralDistributions | str] = 'CIE 1931 2 Degree Standard Observer', **kwargs: Any) Tuple[matplotlib.figure.Figure, matplotlib.axes._axes.Axes] [source]#
Plot a single Rayleigh scattering spectral distribution.
- Parameters
CO2_concentration (ArrayLike) – \(CO_2\) concentration in parts per million (ppm).
temperature (ArrayLike) – Air temperature \(T[K]\) in kelvin degrees.
pressure (ArrayLike) – Surface pressure \(P\) of the measurement site.
latitude (ArrayLike) – Latitude of the site in degrees.
altitude (ArrayLike) – Altitude of the site in meters.
cmfs (colour.colorimetry.spectrum.MultiSpectralDistributions | str | collections.abc.Sequence[colour.colorimetry.spectrum.MultiSpectralDistributions | str]) – Standard observer colour matching functions used for computing the spectrum domain and colours.
cmfs
can be of any type or form supported by thecolour.plotting.common.filter_cmfs()
definition.kwargs (Any) – {
colour.plotting.artist()
,colour.plotting.plot_single_sd()
,colour.plotting.render()
}, See the documentation of the previously listed definitions.
- Returns
Current figure and axes.
- Return type
Examples
>>> plot_single_sd_rayleigh_scattering() (<Figure size ... with 1 Axes>, <...Axes...>)