photon-ratios function

Calculate photon ratios from spectral irradiance