setup and to deflect the residue of the pump into a beam dump. At the symmetry axis of the prism compressor the dispersed spectrum passes two identical nematic liquid crystal arrays of a programmable SLM (Jenoptik, SLM-S640d). Both arrays consist of 640 pixels each 100 $\mu$m wide and separated by a gap of 3 $\mu$m from its nearest neighbors. For a given set of basis functions $f_j^{i,s}(\omega)$, the transmitted frequencies at each pixel are manipulated independently in amplitude and phase according to the transfer function (\[eq:mslm\]) by adjusting the orientation of the nematic molecules with a specific voltage.

A second, identical, PPKTP crystal is phase matched to detect entangled photons in coincidences through SFG [@peer2005]. This provides a coincidence time window with femtosecond temporal resolution. The sum-frequency photons are detected by a single photon counting module (ID Quantique, id100-50-uln) and the remaining IR photons are filtered by a bandpass filter (4 mm BG18). According to reference [@dayan2005], the maximal allowed flux of down-converted photons at the single photon limit is given by $\Phi_{max}\approx\Delta\nu_{DC}$. A spectral bandwidth of $\Delta \lambda_{DC}\approx 105$ nm corresponds to a maximal flux of $\Phi_{max}=2.8\times 10^{13}$ photons per second or a maximal power of $P_{max}=5.2$ $\mu$W. That 