Empirical approach to the description of spectral performance degradation of silicon photodiodes used as particle detectors