SLM Optogenetics

ScanImage uses a phase-only Spatial Light Modulator (SLM) to deliver patterned holographic photostimulation: arbitrary multi-point targets in 3D, computed and updated in real time. The pages in this section cover the calibration steps that make a rig deliver accurate light to the right places, the algorithm that synthesizes the phase mask, and the workflow for designing 3D-shot stimuli.

  • SLM Photostim Alignment walks through phase-LUT calibration (via the SLM LUT Calibration GUI), flatness correction, and the geometric alignments that bring the SLM into the imaging coordinate system — including the three XY-refinement workflows (substage camera, burn spots, and motion detection).

  • SLM Diffraction Efficiency Calibration measures the fall-off of delivered intensity with deflection angle across the 3D field, replacing the analytical sinc² fallback with a per-rig table. It covers both the substage-camera and the camera-free measurement methods, plus masking the physical zero-order beam block.

  • GSW Phase Mask Computation describes the weighted Gerchberg–Saxton algorithm used to synthesize the multi-point phase mask, the configurable options exposed through the Slm Pattern GUI, and the path the result takes through to on-screen rendering.