Emittance and energy spread compensation for current and future low emittance synchrotron light sources