colour.plotting.plot_sky_radiance_Wilkie2021#
- colour.plotting.plot_sky_radiance_Wilkie2021(dataset: SkyDataset_Wilkie2021, sun_elevation: float = np.radians(30), sun_azimuth: float = 0.0, visibility: float = 50.0, albedo: float = 0.5, wavelength: float = 540.0, method: Literal['Polar', 'Latlong'] | str = 'Polar', samples: int = 181, epsilon_zenith: float = 1e-3, imshow_kwargs: dict | None = None, **kwargs: Any) Tuple[Figure, Axes][source]#
Plot the Prague Sky Model sky radiance distribution for the given atmospheric configuration and wavelength.
- Parameters:
dataset (SkyDataset_Wilkie2021) – Loaded
SkyDataset_Wilkie2021dataset.sun_elevation (float) – Sun elevation at ground level in radians.
sun_azimuth (float) – Sun azimuth at ground level in radians.
visibility (float) – Meteorological range at ground level in kilometers.
albedo (float) – Ground albedo [0, 1].
wavelength (float) – Wavelength in nanometers for radiance evaluation.
method (Literal['Polar', 'Latlong'] | str) –
Plotting method:
"Polar": Fisheye polar projection (square figure)."Latlong": Latitude-longitude projection (2:1 figure).
kwargs (Any) – {
colour.plotting.artist(),colour.plotting.render()}, See the documentation of the previously listed definitions.samples (int)
epsilon_zenith (float)
imshow_kwargs (dict | None)
- Returns:
Current figure and axes.
- Return type:
References
Examples
>>> import os >>> from colour.phenomena.sky.wilkie2021 import ( ... PATH_PRAGUE_SKY_MODEL_DATASET_GROUND, ... ) >>> if os.path.isfile( ... PATH_PRAGUE_SKY_MODEL_DATASET_GROUND ... ): ... ds = SkyDataset_Wilkie2021(PATH_PRAGUE_SKY_MODEL_DATASET_GROUND) ... plot_sky_radiance_Wilkie2021(ds)