An optical system for providing a predetermined spatial and temporal shape to the profile of an optical signal which has a spatial and temporal shape of its profile different from said predetermined shape, said system comprising a volume diffraction element upon which said optical signal is incident, in which said optical signal is diffracted, and from which said diffracted optical signal propagates to an output region, said element having a fringe pattern in the volume thereof, and said volume following a surface, shaped along curves selected from flat and arcuate shapes, which matches said spatial and temporal shape of the profile of said incident signal to said predetermined spatial and temporal shape at said output region, and wherein said fringe pattern is fixed in space to provide a predetermined angle between the incidence angle of said incident signal and the diffraction angle of said diffracted signal, and said element surface being curved independently with respect to said fixed fringe pattern in space to provide said match.