voxcity.simulator_gpu.solar.sky.SkyPatches ========================================== .. py:class:: voxcity.simulator_gpu.solar.sky.SkyPatches Container for sky patch discretization data. .. attribute:: method Discretization method name .. attribute:: n_patches Total number of patches .. attribute:: patches Array of (azimuth, elevation) in degrees, shape (N, 2) .. attribute:: directions Unit direction vectors (dx, dy, dz), shape (N, 3) .. attribute:: solid_angles Solid angle per patch in steradians, shape (N,) .. attribute:: metadata Additional method-specific parameters .. py:attribute:: method :type: str .. py:attribute:: n_patches :type: int .. py:attribute:: patches :type: numpy.ndarray .. py:attribute:: directions :type: numpy.ndarray .. py:attribute:: solid_angles :type: numpy.ndarray .. py:attribute:: metadata :type: Dict[str, Any] .. py:method:: __iter__() .. py:property:: patch_directions .. py:property:: patch_solid_angles