colour.phenomena.compute_sky_parameters_Wilkie2021#
- colour.phenomena.compute_sky_parameters_Wilkie2021(view_point: ArrayLike, view_direction: ArrayLike, sun_elevation: float, sun_azimuth: float, visibility: float, albedo: float) SkyParameters_Wilkie2021[source]#
Compute parameters for querying the Prague Sky Model.
Supports batched view_direction inputs. If view_direction has shape
(..., 3), the returned parameter fields will have shape(...).- Parameters:
view_point (ArrayLike) – Observer position
[x, y, z]in meters with z up.view_direction (ArrayLike) – View direction(s)
[..., 3], unit-length normalised.sun_elevation (float) – Sun elevation at ground level at origin in radians.
sun_azimuth (float) – Sun azimuth at ground level at origin in radians.
visibility (float) – Meteorological range at ground level in kilometers.
albedo (float) – Ground albedo [0, 1].
- Returns:
Computed parameters. Fields are scalars when view_direction is
(3,)or arrays matching the batch dimensions otherwise.- Return type:
References