Analysis of programmable ultrashort waveform generation using liquid-crystal spatial light modulators | Synapse