Optical pulse shaping with a grating pair | Synapse