as_quantum function

Convert spectral energy irradiance into spectral photon irradiance