The kobavskytype function determines the CIE general standard sky type for a given luminance distribution of a Tregenza hemisphere as described by Kobav et al. in “Characterization of sky scanner measurements based on CIE and ISO standard CIE S 011/2003” .
See also: getskytype, tregenzaskytype
Usage:
[sky,RMS] = kobavskytype(L,sunaz,sunel,mode)
Where:
Parameter | Description |
sky | Returns the best fitting CIE standard general sky as in CIE S 011, determined with Kobav et al. method. |
RMS | Returns the Root Mean Square deviation from the best fitting CIE standard general sky. RMS from gradation and indicatrix determination is averaged. |
L | Defines the Tregenza hemisphere luminance distribution. |
sunaz | Defines the sun azimuth angle \alpha_S. |
sunel | Defines the sun elevation angle \gamma_S. |
mode | Defines the luminance determination mode of the reference data: ’cie’ (default) returns the skytype according to the CIE table. Not all indicatrix and gradation goup combinations result in a skytype, the function will than return a NaN value. ’nearest’ returns the best fitting CIE skytpye. |
Example
Determine CIE skytype at \alpha_S = 166\degree and \gamma_S = 33\degree:
L = ciesky(12,166,33); [sky,RMS] = kobavskytype(L,166,33)
See also: ciesky
Result:
sky = 12 RMS = 0.019045
References