Any waveform can be disassembled into its spectral components by Fourier analysis or Fourier transformation. The length of a pulse thereby is determined by its complex spectral components, which include not just their relative intensities, but also the relative positions (spectral phase) of these spectral components.