For laser illumination, we used five custom optical paths with the following laser sources: three diode-pumped solid-state lasers of 473 nm [blue, module from Changchun New Industries Optoelectronics Technology Co., Ltd. (CNI)], 532 nm (green, module from DHOM UltraLasers, Inc.), and 589 nm (yellow, module from CNI), as well as two diode lasers with wavelengths of 633 nm (red) and 450 nm (royal blue). Each laser was collimated into the proximal end of the fiber with an aspheric lens. The clean-cut distal end of the fiber was placed directly in the field of view, as described below. Due to propagation within the fiber, the beam profile in air exiting the fiber approximates a super-Gaussian profile [Fig. 1(g)]. This condition is usually typical for optogenetics experiments with multimode fibers, but might not always be present, e.g., due to coupling angle. To control the timing of illumination, lasers were driven in continuous wave mode and shuttered (SR474; Stanford Research Systems). Light intensity was adjusted by a variable neutral density filter. Typically, we used an illumination intensity of 10 mW for 500 ms if not specified otherwise. For experiments that are not wavelength-specific, we used the 450-nm laser because of its high stability.