.. _calculations_shadow: Shadow Calculation Service ========================== .. warning:: The display of result layers in shadow calculation are at present not working correctly. Manually recalculating will fix the issue. CalcShadowService gives access to the shadow flickering module. It only contains two function, ``CalcShadowService.GetShadowCalc`` for getting a shadow calculations and ``CalcShadowService.SetShadowCalc`` for passing it back to windPRO. With the general calculation service data and reports can be extracted from the shadow calculations. Properties of the calculation object can be found here :ref:`TApiCalcShadow `. Find below and example that gets data from a shadow calculation and exports the data (also including ZVI and noise calculations). .. literalinclude:: ../../../python/examples/fromDocs/calculations/decibel_shadow_zvi_calculation.py