Beyond the Ikeda map: a nonlinear optical ring cavity excited with picosecond pulses