Calculate the photon rate from wavelength and optical power, or solve for any unknown given the other two values.