Hillshade.__init__
- Hillshade.__init__(elevation: float, azimuth: float, resolution: float, radius: int | None = None)[source]
Constructor for the Hillshade class.
- Parameters:
elevation (float) – Elevation of the sun (in degrees), 0 is vertical top (zenith).
azimuth (float) – Azimuth of the sun (in degrees), measured clockwise from north.
resolution (float) – Resolution of a raster pixel (in meters).
radius (int, optional) – Maximum distance from the current point (in pixels) to consider for evaluating the hillshade. If None, the radius is calculated based on the data range.