Analysis of picosecond pulse shape synthesis by spectral masking in a grating pulse compressor | Synapse