colour.phenomena.sky_polarisation_Wilkie2021#

colour.phenomena.sky_polarisation_Wilkie2021(dataset: SkyDataset_Wilkie2021, parameters: SkyParameters_Wilkie2021, wavelength: ArrayLike) NDArrayFloat[source]#

Compute degree of polarisation for given wavelength.

Parameters:
Returns:

Degree of polarisation. The result is negated from the internal model coefficients following the convention of the reference C++ implementation.

Return type:

numpy.ndarray

Raises:

ValueError – If the dataset does not contain polarisation data.

References

[WVBashfordRogers+21], [VevodaBRKolavrovaW22]