Extended Data Fig. 5: Flowchart of the holographic trimming algorithm. | Nature Photonics

Extended Data Fig. 5: Flowchart of the holographic trimming algorithm.

From: A full degree-of-freedom spatiotemporal light modulator

Extended Data Fig. 5

Trimming holograms are formed with weighted Gerchberg-Saxton (GS) algorithms and projected onto desired cavities for duration Δt with power \({P}_{{{{\rm{trim}}}}}\). Alternating trimming and resonance readout periods continue until the instantaneous wavelength λi of any targeted cavity blueshifts past the target wavelength λt. Thereafter, a new set of target cavities is selected and trimmed. This selection and trimming sub-loop continues until all resonant wavelengths {λ0} are below the ‘rest’ wavelength λrest, at which point trimming is halted and the resonances are continuously monitored at readout interval Δtrest. When the resonances are sufficiently stable (redshifting from moisture adsorption to the silicon membrane is arrested), the total ‘rehydration’ redshift Δλ0 of each cavity is updated to better estimate the true resonant wavelength λ0 ≈ λi + Δλ0 from the instantaneous wavelengths {λi} during trimming. The entire process terminates when the peak-to-peak static resonant wavelength uniformity \(\Delta {\lambda }_{0}^{{{{\rm{p-p}}}}}\) drops below the desired tolerance Δλtol.

Back to article page