energy_irradiance function

Calculate (energy) irradiance from spectral irradiance