Determination of directional optical properties of an electrochromic device