Abstract
Visual neuroscientists require accurate control of visual stimulation. However, few stimulator solutions simultaneously offer high spatio-temporal resolution and free control over the spectra of the light sources, because they rely on off-the-shelf technology developed for human trichromatic vision. Importantly, consumer displays fail to drive UV-shifted short wavelength-sensitive photoreceptors, which strongly contribute to visual behaviour in many animals, including mice, zebrafish and fruit flies. Moreover, many non-mammalian species feature more than three spectral photoreceptor types. Here, we present a flexible, spatial visual stimulator with up to six arbitrary spectrum chromatic channels. It combines a standard digital light processing engine with open source hard- and software that can be easily adapted to the experimentalist’s needs. We demonstrate the capability of this general visual stimulator experimentally in the in vitro mouse retinal whole-mount and the in vivo zebrafish. With this work, we intend to start a community effort of sharing and developing a common stimulator design for vision research.
Research organism: Mouse, Zebrafish
Introduction
Challenges in visual stimulation
From psychophysics to single-cell physiology, neuroscientists fundamentally rely on accurate stimulus control. At first glance, generating visual stimuli appears to be much easier than, for example, olfactory stimuli, because computer screens and video projectors are omnipresent, suggesting a range of cost-effective choices for the vision researcher. However, commercially available display devices target human consumers and, thus, are designed for the primate visual system. These devices provide superb spatial resolution, approximately cover the colour space relevant for trichromatic human vision (reviewed in Surridge et al., 2003) and support refresh rates that consider the human flicker-fusion frequency (e.g. Hecht and Verrijp, 1933). Moreover, as the emphasis is on improving the subjective viewing experience, commercial display devices typically lack or even purposefully distort properties that are important when used as visual stimulator for research.
While the spatial resolution provided by even basic commercial displays is typically in excess of what most model species can resolve, limitations may exist with respect to timing (i.e. refresh rate) and, in particular, colour space. For example, many insects including Drosophila have flicker fusion frequencies higher than 100 Hz (Miall, 1978) and use five or more main visual opsins (Feuda et al., 2016). For most vertebrate model species (e.g. mice and zebrafish), standard refresh rates of ~60 Hz suffice for the majority of stimulus requirements; however, the limited colour space poses a serious issue: The light sources (i.e. light-emitting diodes, LEDs) are selected based on the spectrum spanned by the human cone photoreceptor opsins (Dartnall et al., 1983; Nathans et al., 1986) and spectrally arranged to cover the human trichromatic colour space. Hence, these devices fail to generate adequate colours for species with different spectral photoreceptor sensitivities and typically three-channel devices impose further limitations for species with more than three spectral types of (cone) photoreceptor (reviewed in Baden and Osorio, 2019).
Since some of the aforementioned constraints are ‘hard-wired’ in display devices for the consumer market, it is often impractical if not impossible to modify such devices. Specialised solutions aimed to overcome some of the above constraints are commercially available, for instance, as special calibrated LCD monitors for human psychophysics (e.g. Display++, Cambridge Research Systems, Rochester, UK). However, these solutions are expensive, optimised for primates and often closed source, which makes it difficult for the user to modify them. As a result, vision researchers either invest large amounts of time and/or money aiming to overcome these constraints or are forced to settle on a custom suboptimal solution that addresses the needs of a particular experimental situation. This, in turn, may critically limit the stimulus space that can be routinely explored, and yields substantial problems in reproducibility and interpretation when comparing physiological data between laboratories. Comparability and reproducibility are of particular interest in the backdrop of recent developments in increasingly efficient data acquisition technologies. For example, being able to simultaneously record from hundreds of neurons using multielectrode arrays (e.g. Jun et al., 2017) or two-photon functional imaging (e.g. Ahrens et al., 2013; Stringer et al., 2019) means that experimental limitations are rapidly shifting the ‘bottleneck’ away from the recording side towards the visual stimulation side.
Visual stimuli for current animal models
Choosing the adequate animal model for a specific research question may, on the one hand, greatly facilitate the experimental design and the interpretation of the results. On the other hand, when trying to transfer such results to other species, it is critical to keep in mind that each species is adapted to different environments and employs different strategies to survive and procreate (reviewed in Baden and Osorio, 2019). In vision research, classical studies often used monkeys and cats as model organisms, which with respect to visual stimuli, for example, in terms of spatial resolution and spectral sensitivity range, have similar requirements as humans. Today, frequently used animal models – such as Drosophila, zebrafish or rodents – feature adaptations of their visual systems outside the specifications for human vision: For instance, all of the aforementioned species possess UV-sensitive photoreceptors, zebrafish have tetrachromatic vision, and both zebrafish and Drosophila display higher flicker fusion frequencies than most mammals (reviewed in Marshall and Arikawa, 2014; Boström et al., 2016). Still, many studies in these species use visual stimulation devices produced and optimised for humans. At best, this will suboptimally drive the animal model'´s visual system, potentially resulting in wrong interpretations of the data.
Here, we present a highly flexible spatial visual stimulator with up to six arbitrary-spectrum chromatic channels. It builds upon a DLP LightCrafter (LCr), which uses a DMD (digital micromirror device) chip, originally developed by Texas Instruments (Dallas, TX; Hornbeck, 1996). The LCr and similar DMD-based ‘light engines’ are broadly used in consumer products. A DMD chip holds an array of tiny mirrors – each representing a pixel – that can be rapidly flipped between two positions, with the ‘on’ and ‘off’ position reflecting the incident light towards the projection optics or a ‘light dump’, respectively. The LCr we used here contains a single DMD chip and, hence, generates colour images by sequentially presenting the R/G/B contents (as 3 × 8 bitplanes) of each frame while turning on the respective LED. The intensity of a, say, green pixel is defined by the temporal pattern the corresponding DMD-mirror is flicked between the ‘on’ and ‘off’ position while the green LED is constantly on.
Because the spectrum of the light that illuminates the DMD chip can be (almost) arbitrary, a DLP-based projector like the LCr can be customised and adapted to different animal models and their spectral requirements – as has been demonstrated in earlier studies on mice (e.g. Baden et al., 2016; Denman et al., 2017), zebrafish (e.g. Guggiana-Nilo and Engert, 2016) and fruit flies (e.g. Haberkern et al., 2019). Alternatively, one can purchase an LCr with custom LEDs (including UV, for commercial systems, see Table 4) or build an external LED unit that illuminates the DMD chip via a light guide (e.g. Tan et al., 2015). Here, we use the highly flexible light guide LCr as a light engine and demonstrate the adaptability of our solution using two exemplary animal species: mice and zebrafish (larvae). Mice currently represent a frequently used model for the mammalian visual system and serve as an example for UV-sensitive vision, while zebrafish are a representative for a well-studied non-mammalian vertebrate species with tetrachromatic vision. Since species-specific chromatic requirements are often more difficult to meet than, for instance, sufficient spatial resolution, our focus here is on adequate chromatic stimulation.
To achieve adequate chromatic stimulation, the spectral composition of the light sources in the stimulator need to cover the spectral sensitivity of the respective model organism. In the ideal case, there should be (i) as many LED peaks as the number of spectrally separable photoreceptor types and (ii) these should be distributed across the spectral sensitivity range of the species. In general, the spectral sensitivity of an animal is determined by the palette of light-sensitive proteins expressed in their photoreceptors. Vertebrate photoreceptors are divided into rod photoreceptors (rods) and cone photoreceptors (cones). Rods are usually more light-sensitive than cones and, hence, serve vision at dim illumination levels, whereas cones are active at brighter light levels and support colour vision. Depending on the peak sensitivity and the genetic similarity of their opsins, cones are grouped into short (sws, ‘S’), medium (mws, ‘M’) and long wavelength-sensitive (lws, ‘L’) types, with the sws cones further subdivided into sws1 (near-ultraviolet to blue range, <430 nm, here ‘UV’) and sws2 (blue range, >430 nm) (reviewed in Ebrey and Koutalos, 2001; Yokoyama, 2000). The rod:cone ratio of a species is related to the environmental light levels during their activity periods. For instance, while the central fovea of the macaque monkey retina lacks rods altogether, the rod:cone ratio in its periphery is approx. 30:1 (Wikler and Rakic, 1990) and therefore similar to that in mice (Jeon et al., 1998). In adult zebrafish, the rod:cone ratio is approx. 2:1 (Hollbach et al., 2015).
Many vertebrates feature a single type of rod (for exceptions, see Baden and Osorio, 2019) but up to five spectral types of cone, which is why cones are more relevant for chromatically adequate visual stimulation. Old-world primates including humans, for example, possess three spectral types of cones (S, M and L). Hence, these primates feature trichromatic daylight vision (reviewed in Jacobs, 2008). In contrast, mice are dichromatic like the majority of mammals; they only have two cone types (S and M; Figure 1a–c). Unlike most mammals, however, the spectral sensitivities of the mouse are shifted towards shorter wavelengths, resulting in a UV-sensitive S-opsin (Jacobs et al., 1991). While one cone type usually expresses only one opsin type, some mammalian species, such as mice or guinea pigs, show opsin co-expression: In mice, for instance, M-cones co-express S-opsin with increasing levels towards the ventral retina (Figure 1b) (Applebury et al., 2000; Baden et al., 2013; Röhlich et al., 1994). As a ‘more typical’ example for non-mammalian vertebrates, the cone-dominated retina of zebrafish contains four cone types, resulting in tetrachromatic vision (Figure 1d): In addition to S- and M-cones, they have also UV- and L-cones (Chinen et al., 2003). In adult zebrafish, all cone types are organised in a highly regular array, with alternating rows of UV-/S- and M-/L-cones (Figure 1e,f) (Li et al., 2012). In zebrafish larvae, however, the cone arrangement shows distinct anisotropic distributions for different cone types matched to image statistics present in natural scenes (Figure 1g,h) (Zimmermann et al., 2018).
Taken together, the diversity of spectral sensitivities present in common animal models used in visual neuroscience as well as their differences to the human visual system necessitates a species-specific stimulator design. Here, we present a highly flexible, relatively low-cost visual stimulation system that combines digital light processing (DLP) technology with easily customisable mechanics and electronics, as well as intuitive control software written in Python. We provide a detailed description of the stimulator design and discuss its limitations as well as possible modifications and extensions; all relevant documents are available online (for links, see Table 1). Finally, we demonstrate the use of our stimulator in two exemplary applications; as a dichromatic version for in vitro two-photon (2P) recordings in whole-mounted mouse retina and as a tetrachromatic version for in vivo 2P imaging in zebrafish larvae.
Table 1. For detailed part lists, see Tables 2 and 3.
Part | Links to online resources |
---|---|
TI DLP LightCrafter 4500 Evaluation Module (‘LCr’) |
Product overview: http://www.ti.com/tool/dlplcr4500evm
User guide: http://www.ti.com/lit/ug/dlpu011f/dlpu011f.pdf Programmer’s guide: http://www.ti.com/lit/ug/dlpu010g/dlpu010g.pdf DLP4500 data sheet w/DMD specs: http://www.ti.com/lit/ds/symlink/dlp4500.pdf Alternate DMD windows for increased UV transmission: http://www.ti.com/lit/an/dlpa031d/dlpa031d.pdf DMD reflectance w/o window: https://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/20160010355.pdf |
QDSpy – Open Source Visual stimulation software | Documentation: http://qdspy.eulerlab.de/
Python source code: https://github.com/eulerlab/QDSpy (Euler, 2019b; copy archived at https://github.com/elifesciences-publications/QDSpy) Information on ‘pattern mode’ with QDSpy: http://qdspy.eulerlab.de/lightcrafter.html#example-scripts |
Chopper | For a ‘mechanical’ LED blanking solution (see Discussion), based on Thorlabs’ Optical Chopper System |
open-visual-stimulator – Project GitHub repository | Contains spectral calibration scripts, 3D design files for printed parts, printed circuit board design files, bill of materials to populate boards, etc. https://github.com/eulerlab/open-visual-stimulator (Euler et al., 2019a; copy archived at https://github.com/elifesciences-publications/open-visual-stimulator) |
Results
Stimulator design
As the ‘light engine’ of our stimulator, we use the DLP LightCrafter 4500 (here, referred to as ‘LCr’) developed by Texas Instruments (Dallas, TX). The LCr is a bare-metal version for developers and offers several advantages over consumer devices: (i) its control protocol is well documented (for links, see Table 1), allowing to program the device via a USB connection on-the-fly; (ii) its flexibility in terms of light sources; lightcrafters with customised LEDs (Table 4) and a version with a light guide port (see below) are available; (iii) its small footprint (15 × 10 × 5 cm) facilitates incorporating the LCr into existing setups. While the stimulators are built around the LCr, we attempted to use a minimum of commercial parts. Except for the specialised optical elements (i.e. dichroic filters, beam splitters, mirrors), most parts can be replaced by 3D printed parts (e.g. designed using OpenSCAD, see Key Resources Table) to increase flexibility and to lower the total costs. For example, instead of commercial rail systems, such as LINOS microbank (Qioptiq, Göttingen, Germany), alternative 3D-printed parts can be used (Delmans and Haseloff, 2018). All electronics and the visual stimulation software are Open Source (Table 1).
Table 4. Different commercially available UV-enabled projectors.
Part | Description (link) | Company |
---|---|---|
DPM-E4500UVBGMKII | DLP LightCrafter E4500 MKII with 3 LEDs: UV (385 or 405 nm), blue (460 nm), and green (520 nm) |
EKB Technologies Ltd., Bat Yam, Israel https://www.ekbtechnologies.com/ |
3DLP9000 UV Light Engine | DLP-based light engine that can be equipped with one arbitrary LED, including UV (365, 385, or 405 nm) | DLi Digital Light innovations, Austin, TX https://www.dlinnovations.com |
DLP660TE – 4K UHD | 4K-enabled projector, with flexible light sources, using Texas Instruments’ DLP660TE chipset | VISITECH Engineering GmbH Wetzlar, Germany https://visitech.no/ |
For the two-channel (dichromatic) mouse stimulator (Figure 2a–c), we used a light guide LCr (Fiber-E4500MKIITM, EKB Technologies Ltd., Israel). It lacks internal LEDs and the respective beam splitters and instead features a built-in port for a standard light guide (7 mm outer diameter, 5 mm core diameter; see recommendations by EKB). It was coupled by a light guide (for parts list, see Table 2) to an external illumination unit (Figure 2a right,c). In this unit, a long-pass dichroic mirror combines the light from two band pass-filtered LEDs (with λpeak = 387 and 576 nm) and feeds it into a light guide using a fitting collimation adapter. This arrangement facilitates the exchange of the LEDs and allows to mount the illumination unit outside the microscope cabinet. One disadvantage with this current LCr model is, however, that – in our experience – it passes only a fraction of the light entering the light guide port (see Discussion). The LCr is positioned next to the microscope’s stage and projects the stimulus via a condenser from below into the recording chamber, where it is focussed on the photoreceptor layer of the isolated mouse retina (Figure 2a left). In the type of 2P microscope used here (MOM, Sutter Instruments, Novato, CA; Materials and methods), the scan head including the objective lens – as well as the substage assembly with the condenser – moves relative to the static recording chamber. Hence, to allow the stimulus to 'follow' the objective lens-condenser axis, the LCr is mounted on a pair of low-friction linear slides, with the LCr mechanically coupled to the substage assembly (Figure 2b). To allow for stimulus centring, a combination of an x-y and a z-stage, both manually adjustable with micrometer screws, is fitted between slides and LCr.
Table 2. Parts list of the mouse visual stimulator (cf. Figure 2a–c and Figure 2—figure supplement 6).
Part | Description (link) | Company | Item number |
---|---|---|---|
Parts for stimulator (except external illumination unit) | |||
LCr | 0.45' ‘DLP Fiber couple E4500MKII Development Module FC/PC | EKB Technologies Ltd. | DPM-FE4500MKIIF |
Condenser | C-C Achromat-Aplanat Condenser N.A. 1.40, oil | Nikon | MBL71400 |
Objective | W Plan-Apochromat 20x/1.0 DIC (UV) VIS-IR | Zeiss | 421452-9880-000 |
DM 00 | Beamsplitter 900DCXXR | AHF Analysetechnik AG | F73-903 |
Lens 00 | Achromatic Doublet, f = 75 mm | Thorlabs | AC254-075-A-ML |
Light guide | Liquid light guide 5 mm Core, 1.2 m length | Thorlabs | LLG05-4H |
z stage | 13 mm Travel Vertical Translation Stage | Thorlabs | MVS005/M |
x-y stage | XY Stage, 13 mm Travel | Thorlabs | XYT1/M |
Frictionless tables | Type NK frictionless table (rollers/balls) | Schneeberger GmbH | NK2-50 (x2) |
Perfusion chamber | Quick release magnetic imaging chamber | Warner Instruments | 64–1943 |
Parts for the external illumination unit | |||
Cage plate 1 | Cage Plate with Ø2.2’ Double Bore | Thorlabs | LCP09/M |
Cage plate 2 | 30 mm to 60 mm Cage Plate Adapter | Thorlabs | LCP02/M |
Cage plate 3 | SM1-Threaded Standard Cage Plates | Thorlabs | CP02/M (x7) |
Cage assembly rods | ER Assembly Rods for 30 mm and 60 mm Cage Systems | Thorlabs | ER1/2/3 (x4) |
Post holders | Pedestal Post Holders | Thorlabs | PH40E (x2) |
Post holders | Clamping Forks and Base Adapters | Thorlabs | CF175 (x2) |
Collimator | 5 mm LLG Collimating Adapter, Zeiss Axioskop | Thorlabs | LLG5A4-A |
BP 00 | 387/11 BrightLine HC | AHF | F39-387 |
BP 01 | 576/10 BrightLine HC | AHF | F37-576 |
UV LED | 385 nm, 320 mW at 350 mA, +- 75° | Roithner | H2A1-H385-r2 |
Green LED | 590 nm, 8–10 mW at 350 mA, +- 30° | Roithner | M3L1-HY-30 |
DM 01 | Beamsplitter HC BS 495 | AHF | F38-495 |
Lens 01 | 1’’ N-BK7 Plano-Convex Lens, f = 25.4 mm | Thorlabs | LA1951-A-ML (x2) |
DM holder | DM_holder, Nylon | Custom-made (University workshop) |
|
LED holder | LED_holder, Aluminium | Custom-made (University workshop) |
(x2) |
In addition to this ‘through-the-condenser’ (TTC) configuration for visual stimulation, we also used the ‘through-the-objective’ (TTO) configuration described earlier (Figure 2—figure supplement 1) (Euler et al., 2009). Here, the stimulus is optically coupled into the laser pathway and therefore does not require mechanical coupling of microscope head and visual stimulator. In addition, only scattered light of the visual stimulus will reach the photodetectors above the objective, reducing artefacts caused by stimulus light entering the photodetectors (e.g. photomultipliers, PMTs). However, the disadvantage of the TTO configuration is that the stimulation area is limited by the field-of-view of the objective (approximately 700 µm in diameter for our 20x objective) and, therefore, large-scale retinal networks that may be critical for naturalistic stimulation are likely not well activated.
For the four-channel (tetrachromatic) zebrafish stimulator variant, we optically coupled two light guide LCrs (Figure 2d,e; for parts list, see Table 3). They used a similar external illumination unit as the mouse stimulator, but with different LED/filter combinations (λpeak = 586, 480, 420, and 370 nm). The beams of the two LCrs are collimated and combined using a long-pass dichroic mirror and projected onto a flat teflon screen that covers one side of a miniature water-filled aquarium (Table 1), in which the zebrafish larva is mounted on a microscope slide under the objective lens of a MOM-type 2P microscope (Figure 2e). Each LCr is placed on an independent three-axis manipulator to facilitate alignment of the two images. Then, small 0.5-cm circular stimuli are projected (one from each stimulator) and the LCrs positions are adjusted using the manipulators until the stimuli are completely overlapping. The general design of the zebrafish stimulator -- with one or two LCr projecting onto a teflon screen – is also suitable for visual stimulation during in vivo experiments of other model organisms like mouse or Drosophila.
Table 3. Parts list of the zebrafish visual stimulator (cf. Figure 2d,e; italic entries are not shown in figure).
Part | Description (link) | Company | Item number |
---|---|---|---|
Parts for stimulator (except external illumination unit) | |||
LCr | 0.45' ‘DLP Fiber couple E4500MKII Development Module FC/PC | EKB Technologies Ltd. | DPM-FE4500MKIIF (x2) |
DM 04 | Beamsplitter T 400 LP | AHF | F79-100 |
Lens 02 | Mounted N-BK7 Bi-Convex Lens, f = 50.0 mm | Thorlabs | LB1844-ML (x2) |
Lens 03 | Air-Spaced Achromatic Doublet, f = 50 mm | Thorlabs | ACA254-050-A (x3) |
Lens 04 | Achromatic Doublet, f = 100 mm | Thorlabs | AC508-100-A-ML |
Light guide | Liquid light guide 5 mm Core, 1.2 m length | Thorlabs | LLG05-4H (x2) |
z stage | 13mmTravel Vertical Translation Stage | Thorlabs |
MVS005/M
(x2) |
x-y stage | 13mmTranslation Stage | Thorlabs |
MT1B/M
(x4) |
Mount plate | Aluminium Breadboard | Thorlabs | MB2530/M |
Lens holder | 30mmto 60mmCage Plate Adapter | Thorlabs |
LCP02/M
(x4) |
Optical Post | Optical Post 12.7mmdiam | Thorlabs |
TR100/M
(x2) |
Post Holder | Post holder 12.7mmdiam 100 mm | Thorlabs |
PH100/M
(x2) |
Post clamp | Clamping Fork, 1.24’Counterbored Slot | Thorlabs |
CF125-P5
(x2) |
Metal rods | Thorlabs |
ER-12
(x4) |
|
Metal rods | Cage Assembly Rod, 3’Long, Ø6 mm | Thorlabs |
ER-3
(x8) |
Dichroic holder | Kinematic Cage Cube Platform for C4W/C6W, Metric | Thorlabs | B4C/M |
Dichroic holder | Cage compatible rectangular filter mount | Thorlabs | FFM1 |
Cage cube | 60mmcube cage | Thorlabs | LC6W |
Lens holder | Thorlabs |
CP02/M
(x2) |
|
LCr Lens holder | LCr lens holder adapter | 3D printed part | (x2) |
Fish aquarium | 3D printed part(s) | ||
Teflon screen |
PTFE (Teflon) glass fibre high temperature coating cloth, 0.15 mm |
Artistore | |
Parts for the external illumination units (RGB + UV) | |||
Collimator | Thorlabs | LLG5A4-A (x2) |
|
Lens 01 | 1’’ N-BK7 Plano-Convex Lens, f = 25.4 mm | Thorlabs | LA1951-A-ML (x4) |
DM 02 | Laser Beamsplitter H 560 LPXR superflat | AHF | F48-559 |
DM 03 | AHF | F48-450 | |
BP 02 | AHF | F39-370 | |
BP 03 | AHF | F47-420 | |
BP 04 | AHF | F49-480 | |
BP 05 | AHF | F39-587 | |
UV LED | 365 nm 2.4–6.0 mW 20 mA 15° | Roithner | XSL-365-5E |
Blue LED | 420 nm 420 mW 350 mA 20° | Roithner | SMB1N-420H-02 |
Green LED | 470 nm 70 mW 350 mA 20° | Roithner | SMB1N-D470-02 |
Red LED | 588 nm 13.5 cd 20 mA 8° | Roithner | B5B-434-TY |
Filter/LED/lens holder | Thorlabs |
CP02/M
(x4) |
|
Collimator holder | Thorlabs |
LCP09
(x2) |
|
Vertical holder | 60 mmto 30mmCage System Right-Angle Adapter | Thorlabs |
LCP30
(x3) |
Dichroic frame | Dichroic frame | 3D printed part | (x2) |
Frame holder | 3D printed part | (x2) | |
Horizontal holder | 3D printed part | (x2) | |
Metal rods | Thorlabs |
ER-8
(x4) |
|
Metal rods | Cage Assembly Rod, 3’Long, Ø6 mm | Thorlabs |
ER-3
(x10) |
Optical Post | Optical Post 12.7mmdiam | Thorlabs |
TR100/M
(x4) |
Post Holder | Post holder 12.7mmdiam 100 mm | Thorlabs |
PH100/M
(x4) |
Post clamp | Clamping Fork, 1.24’Counterbored Slot | Thorlabs |
CF125-P5
(x4) |
Separating light stimulation and fluorescence detection
A difficulty when combining visual stimulation with fluorescence imaging is that the spectral photoreceptor sensitivities and the emission spectra of the fluorescent probes tend to greatly overlap. Hence, to avoid imaging artefacts, stimulator light has to be prevented from reaching the PMTs of the microscope, while ensuring that each of the spectral photoreceptor types is stimulated efficiently and as much of the fluorescence signal as possible is captured. To address this issue, light stimulation and fluorescence detection have to be separated temporally and/or spectrally (Euler et al., 2009).
Temporal separation means that the LEDs of the visual stimulator are turned off while collecting the fluorescence signal. In a ‘standard’ rectangular x-y image scan, the retrace period (when the scanners move to the beginning of the next scan line) can be used for turning the LEDs on to display the stimulus. We found a retrace period of 20% of a scan line (for 1 to 2 ms scan lines) a good compromise between maximising data collection time, avoiding mechanical artefacts from the retracing galvo scanners, and still having sufficient bright stimuli (Euler et al., 2019). If other scan patterns are used, LED-on periods (of similar duration as the retrace periods in x-y scans) need to be embedded for the temporal separation concept to work. An example for a more ‘mechanical scanner friendly’ scan pattern that includes such LED-on periods are the ‘spiral’ scans we describe elsewhere (Rogerson et al., 2019). In any case, the microscope’s software has to signal these retrace (or LED-on) periods. Our custom-written microscope software (ScanM, see Materials and methods) generates a ‘laser blanking signal’ (=low during retrace), which allows turning down the excitation laser’s intensity via a Pockels’ cell during retrace to reduce the laser exposure of the tissue (Euler et al., 2019; Euler et al., 2009). Hence, a straightforward way to implement temporal separation between fluorescence detection and light stimulation is to invert this blanking signal and use it to turn on the LEDs during retrace (Figure 2—figure supplement 2).
Despite stimulation and data acquisition being temporally separated (see above), spectral separation is needed to protect the PMTs from the stimulus light. Even when the light reaching the PMTs is not bright enough to damage them, it often triggers the overcurrent protection circuit many PMTs are equipped with and shuts them off. Spectral separation is achieved by selecting LED and PMT filters with non-overlapping transmission bands (Figure 2—figure supplement 3). This is complemented by a dichroic mirror (DMM Figure 2—figure supplements 1 and 3; DMZ in Figure 2—figure supplement 3) with multiple transmission bands (Euler et al., 2019; Euler et al., 2009). In the TTO configuration, it transmits one narrow band of stimulation light for each spectral photoreceptor type while reflecting the excitation laser (>800 nm) and the fluorescence signals (detection bands; Figure 2—figure supplement 3). In addition, it passes stimulus light reflected back from the specimen. In the TTC configuration, the main role of DMM is to reflect fluorescence from the specimen to the PMTs while preventing any stimulus light reflected back from the specimen going there by passing it. The same is true for DMZ in the zebrafish stimulator with the teflon screen, where some of the stimulus light is scattered in the specimen towards the objective lens. Note that both DMs are not only suitable for mouse and zebrafish but also for other model organisms like Drosophila (Figure 2—figure supplement 4). An option to further reduce stimulus artefacts that was not evaluated here are gated PMTs (Euler et al., 2019).
As explained above, the LCr encodes the brightness of an image pixel by its mirror’s ‘on’ time, and colour sequentially by cycling through the LEDs while presenting the corresponding R-, G- or B-bitplanes in sync (cf. LCr User Guide; for link, see Table 1). In addition, the LCr allows setting the maximal intensity of each LED via pulse-width modulation (PWM). In the two-channel mouse stimulator, we power the LEDs in the external illumination unit (Figure 2a right) using the LCr’s onboard LED drivers and therefore, these LEDs are driven as built-in ones would be – except that we interrupt power to the LEDs in sync with the inverted laser blanking signal using a simple custom circuit board (Figure 2—figure supplement 5a–c). To switch the necessary currents with sufficient speed, this circuit uses per LED channel three solid state relays connected in parallel. A downside of this simple solution is that the choice of LEDs is constrained by how much current the relays can pass (250 mA continuous current load per relay). The LCr is not limiting here, because its internal LED drivers can provide up to 4.3 A at 5 V in total. For the four-channel zebrafish stimulator, we devised a circuit (logic board, Figure 2—figure supplement 5d–f) that uses only the LCr’s digital control signals for each LED (LED enable, LED PWM; for details, see Figure 2—figure supplement 5g). This board is also compatible with the two-channel mouse stimulator. It represents a more general solution, because it does not rely on power from the LCr. Instead, in combination with custom LED driver boards (Figure 2—figure supplement 5f), it can use arbitrary current supplies for the LEDs, making it possible to use any commercially available LED. The logic board supports up to three LED channels, such that for the zebrafish stimulator, two boards are needed (one per LCr) -- plus one driver board per LED. For all solutions, printed circuit boards (PCB) designs created using KiCad (see Key Resources Table) and building instructions are provided (see link to repository in Table 1).
One potential issue of the described solution for temporal separation is that the frame (refresh) rate of the LCr (typically 60 Hz) and the laser blanking/LED-on signal (500 to 1,000 Hz) are not synchronised and therefore may cause slow aliasing-related fluctuations in stimulus brightness. In practice, however, we detected only small brightness modulations (Figure 2—figure supplement 2b).
Visual stimulation software
Our visual stimulation software (QDSpy) is completely written in Python3 and relies on OpenGL for stimulus rendering. It includes a GUI, which facilitates spatial stimulus alignment, LCr control and stimulus presentation. QDSpy stimuli are written as normal Python scripts that use the ‘QDSpy library’ to define stimulus objects, set colours, send trigger signals, display scenes etc. Stimulus objects range from simple shapes with basic shader support to videos (for a complete description of the software, see link in Table 1). Depending on the way a user implements a stimulus and whether or not the script contains lengthy calculations, it cannot be guaranteed that the script runs fast enough to reliably generate stimulus frames at 60 Hz. Hence, to ensure stimulus timing, the first time QDSpy runs a stimulus script it generates a ‘compiled’ version of the stimulus, which is stored in a separate file. When the user runs that stimulus again (and the source stimulus script has not been altered after compilation), QDSpy presents the stimulus from the compiled file. This compiled file contains the drawing instructions and timing for every stimulus element used in a very compact form. This strategy has the advantage that stimulus timing is very reliable, as potentially time-consuming sections of the Python stimulus script have already been executed during ‘compilation’. The main disadvantage is that user interaction during stimulus presentation is (currently) not possible.
For stimulus presentation, QDSpy relies on the frame sync of the graphics card/driver for stimulus display. By measuring the time required to generate the next frame, the software can detect dropped frames and warn the user of timing inconsistencies, which cannot be altogether excluded on a non-real-time operating system like Windows. Such frame drops, including all other relevant events (e.g. which stimulus was started when, was it aborted etc.) as well as user comments are automatically logged into a file. To account for any gamma correction performed by the LCr firmware when in video mode and/or by non-linearities of the LEDs/LED drivers, we measured each LED’s intensity curve separately to generate a lookup table (LUT) that is then used in QDSpy to linearise the colour channels (Materials and methods).
As default, the LCr runs in ‘video mode’, where it behaves like an HDMI-compatible display (60 Hz, 912 × 1,140 pixels). In this mode, each colour channel in an RGB frame (3 × 8 = 24 bitplanes) is assigned to one of the 3 LCr LEDs via the QDSpy software. It is possible (and supported by QDSpy) to reconfigure the LCr firmware and run it in the so-called ‘pattern mode’, which, for instance, allows trading bit depth for higher frame rates and assigning each of the 24 bitplanes of every frame to an arbitrary combination of LEDs (Discussion).
The stimulation software generates digital synchronisation markers to align presented stimuli with recorded data. In addition to digital I/O cards (e.g. PCI-DIO24, Measurement Computing, Bietigheim-Bissingen, Germany), QDSpy supports Arduino boards (https://www.arduino.cc/) as digital output device. While the software attempts generating the synchronisation marker at the same time as when presenting the stimulus frame that contains the marker, a temporal offset between these two events in the tens of millisecond range cannot be avoided. We found this offset to be constant for a given stimulation system, but dependent on the specific combination of PC hardware, digital I/O device, and graphic cards. Therefore, the offset must be measured (e.g. by comparing synchronisation marker signal and LCr output measured by a fast photodiode) and considered in the data analysis.
For up to three chromatic channels (e.g. the mouse stimulator, cf. Figure 2a–c), stimuli are presented in full-screen mode on the LCr, with the other screen displaying the GUI. When more chromatic channels are needed, as for the zebrafish stimulator, two LCrs are combined (see above; cf. Figure 2d,e). QDSpy then opens a large window that covers both LCr ‘screens’ and provides each LCr with ‘its’ chromatic version of the stimulus (screen overlay mode). To this end, the software accepts colour definitions with up to six chromatic values and assigns them to the six available LEDs (three per LCr). For example, the first LCr of the zebrafish stimulator provides the red, green and blue channels, whereas the second LCr adds the UV channel (Figure 2d). Here, QDSpy presents the stimulus’ RGB-components on the half of the overlay window assigned to the first LCr and the stimulus’ UV-component on the half of the overlay window assigned to the second LCr. The remaining LED channels are available for a different purpose, such as, for example, separate optogenetic stimulation.
LED selection and spectral calibration
Adequate chromatic stimulation requires adjusting the stimulator to the spectral sensitivities of the model organism. Ideally, one would choose LEDs that allow maximally separating the different opsins (Figure 3). In practice, however, these choices are limited by the substantial overlap of opsin sensitivity spectra (Figure 3a,c) and by technical constraints: For instance, commercially available projectors, including the LCr, barely transmit UV light (<385 nm), likely due to UV non-transmissive parts in the optical pathway and/or the reflectance properties of the DMD (Discussion). In addition, when imaging light-evoked neural activity, fluorescence signal detection and visual stimulation often compete for similar spectral bands, and need to be separated to avoid stimulus-related artefacts (Figure 2—figure supplement 3; discussed in Euler et al., 2019; Euler et al., 2009). Compared to projectors with built-in LEDs, the flexible LED complement of the light guide LCr presents a crucial advantage: Here, LEDs can be easily exchanged to avoid the spectral bands of the fluorescent probes, thereby allowing to maximally separate visual stimulation and fluorescence detection. Because LED spectra can be quite broad, we combine each LED with an appropriate band-pass filter to facilitate arranging stimulation and detection bands.
Figure 3. Calibration of the mouse stimulator.
(a) Sensitivity profiles of mouse S- and M-opsin (dotted black lines) and spectra of UV (magenta) and green LED/filter combinations used in the mouse stimulator. (b) Sensitivity profiles of mouse S- and M-opsin (dotted black line) and spectra of blue, green and red LED present in a standard TFT monitor. (c) Sensitivity profiles of zebrafish opsins (dotted black lines) and spectra of UV, blue, green and red LEDs used in the zebrafish stimulator. (d) Spectra (in nW) of UV and green LED obtained from measurements using increasing brightness levels; shown are spectra for 0, 9, 19, 29, 39, 49, 59, 68, 78, 88, and 98% brightness. (e) Non-linearised intensity curve (‘raw’) with sigmoidal fit (black), estimated gamma correction curve (black dotted line; ‘Look-up table’) and linearized intensity curve (‘corrected’) for green LED. (f) Photoisomerisation rates for maximal brightness of UV (19.2 and 3.8 photoisomerisations ·103 P*/second/cone for S- and M-opsin, respectively) and green LED (0 and 19.5 ·103 P*/second/cone for S- and M-opsin, respectively). Note that the UV LED also activates M-opsin due to its increased sensitivity in the short wavelength range (β-band, Discussion).
As a consequence, the peak emissions of the selected LED/filter combinations usually do not match the opsins’ sensitivity peaks. For our dichromatic mouse stimulator, we chose LED/filter combinations peaking for UV and green at approximately 385 and 576 nm, respectively (Figure 3a), which after calibration (Figure 3d–f; Materials and methods), are expected to differentially activate mouse M- and S-opsin (Figure 3f). Notably, because of its spectral shift towards shorter wavelengths (Jacobs et al., 1991), conventional TFT monitors routinely used in in vivo studies fail to activate mouse S-opsin (Figure 3b) and therefore are not able to provide adequate visual stimuli for the mouse visual system (Discussion). For the tetrachromatic zebrafish stimulator, we used LED/filter combinations with peak emissions at approx. 586, 480, 420, and 370 nm (Figure 3c). For a suggestion of LED/filter combinations matching the spectral sensitivity of Drosophila, see Figure 2—figure supplement 4.
To estimate the theoretically achievable chromatic separation of mouse cones with our stimulators, we measured the spectra of each LED/filter combination at different intensities (Figure 3d) and converted these data into cone photoisomerisation rates (Nikonov et al., 2006). To account for non-linearities in stimulator intensities, we apply gamma correction at the stimulus presentation software level (Figure 3e). For our functional recordings (cf. Figures 5 and 6), the photoisomerisation rate (in P*/cone/s ⋅103) normally ranges from ~0.6 (stimulator shows black image) to ~20 (stimulator shows white image; Figure 3f), corresponding to the low photopic regime. In contrast to most commercially available projectors, the current driving the LEDs can also be set to zero, allowing experiments in complete darkness. Further details on the calibration procedures and example calculations for mice and zebrafish are provided in the Methods and in supplemental iPython notebooks, respectively (Table 1). Importantly, the general layout of these calibration notebooks facilitates adapting them to other model organisms.
Spatial resolution
To measure the spatial resolution of our mouse stimulator, we used the ‘through-the-objective’ (TTO) configuration (Figure 2—figure supplement 1) (Euler et al., 2009) and projected UV and green checkerboards of varying checker sizes (from 2 to 100 µm; Materials and methods) onto a camera chip positioned at the level of the recording chamber (Figure 4a). We found that contrast remained relatively constant for checker sizes down to 4 µm before it rapidly declined (Figure 4b,c). Similarly, transitions between bright and dark checkers started to blur for checker sizes below 10 µm (Figure 4d,e). For these measurements, we used a 5x objective (MPlan 5X/0.1, Olympus) to project the stimuli, ensuring that the spatial resolution of the camera (OVD5647 chip: 1.4 µm pixel pitch) was not the limiting factor. Hence, a 5 × 5 µm checker stimulus appeared as a 20 × 20 µm square on the camera chip, where it covered approximately (14.3)² pixels. However, for the scaling factor we use for our recordings (1.9 × 0.9 µm/pixel), a 5 × 5 µm checker consists only of 9.5 × 4.5 LCr pixels (DMD4500, chip area: 6,161 × 9,855 µm with 1,140 × 912 pixels). Thus, the drop in spatial resolution observed for checkers ≤5 µm is likely related to the resolution of the DMD. For the ‘through-the-condenser’ (TTC) configuration, contrast and sharpness of transitions declined already for checker sizes between 5 and 10 µm (Figure 4c,e). That we measured a slightly lower spatial resolution for the TTC compared to the TTO configuration may be because we reached the camera resolution limit (see above), as for TTC we could not simply swap the condenser and, hence, the stimulus image was not magnified on the camera chip.
Figure 4. Spatial calibration of the mouse stimulator.
(a) Images of checkerboard stimuli with varying checker sizes projected through-the-objective (TTO) for illumination with green (top) and UV (bottom) LED, recorded by placing the sensor chip of a Raspberry Pi camera at the level of the recording chamber. Focus was adjusted for UV and green LED separately. Insets for 5 and 2 µm show zoomed in regions of the image. (b) Intensity profiles for five different checker sizes of green LED. (c) Contrasts () for checkerboards of varying checker sizes of the TTO (top) and through-the-condenser (TTC; bottom) configuration. (d) Peak-normalised intensity profiles of different checker sizes, scaled to the same half-maximum width. (e) 1/rate estimated from sigmoidal fits of normalised intensity curves like in (d) for varying checker sizes of the TTO (top) and TTC (bottom) configuration.
Figure 4—figure supplement 1. Chromatic aberration of the mouse stimulator.
For the zebrafish stimulator, spatial resolution is less of a problem because, for our setup, checker sizes at the limit of the animal’s spatial resolution (2° visual angle; Haug et al., 2010) are large (~1 mm on the teflon screen; cf. Figure 2d,e).
For the spatial resolution measurements, the UV and green images were each focussed on the camera chip and, therefore, the results do not reflect any effects of chromatic aberration on image quality. To estimate chromatic aberration for our TTO configuration, we next measured the offset between the focal planes of the chromatic channels. Here, we used the standard 20x objective that we also employ for functional recordings. We found that the difference in focal plane between UV and green of approx. 24 µm has little effect on the overall image quality (Figure 4—figure supplement 1) - at least for checker sizes we routinely use for receptive field mapping of retinal neurons (e.g. Baden et al., 2016; cf. also Discussion).
Visual stimulation in the explanted mouse retina
To confirm that our stimulator design can be used for adequate chromatic stimulation of the mouse retina, we directly recorded from cone axon terminals in retinal slices using 2P Ca2+ imaging (e.g. Kemmler et al., 2014). To this end, we used the transgenic mouse line HR2.1:TN-XL, where the ratiometric Ca2+ sensor TN-XL is exclusively expressed in cones (Figure 5a) (Wei et al., 2012). To quantify the chromatic preference of recorded cones, we calculated spectral contrast (SC) based on the response strength to a 1 Hz sine-wave full-field stimulus of green and UV (Materials and methods). The SC values correspond to Michelson contrast, ranging from −1 to 1 for the cell responding solely to UV and green, respectively.
Figure 5. Cone-isolating stimulation of mouse cones.
(a) Dorsal recording field in the outer plexiform layer (OPL; right) shows labelling of cone axon terminals with Ca2+ biosensor TN-XL in the HR2.1:TN-XL mouse line (Wei et al., 2012). Schematic on the left illustrates retinal location of recorded slice. (b) Ca2+ traces (mean traces in black, n = 3 trials in grey) of cone axon terminals located in dorsal (top; cone axon terminal from (a)), medial (middle) and ventral (bottom) retina in response to 1 Hz sine modulation of green and UV LED, with spectral contrast (SC) indicated below. Colour substitution protocol (right) estimated from calibration data (Materials and methods). (c) Distribution and comparison of SC for sine modulation stimulus with (top) and without (bottom) silent substitution protocol (n = 55 cells, n = 12 scan fields, n = 1 mouse; p=9.31*10−9 for dorsal cells, n = 30; p=0.92 for ventral cells, n = 25; Wilcoxon signed-rank test).
In line with the opsin distribution described in mice (Applebury et al., 2000; Baden et al., 2013), cones located in the ventral retina responded more strongly or even exclusively to UV (Figure 5b, bottom row), whereas central cones showed a strong response to both green and UV due to the more balanced co-expression of S- and M-opsin (Figure 5b, centre row). In contrast, dorsal cones exhibited a green-dominated response (Figure 5b, top row). Due to the cross-activation of M-opsin by the UV LED (see above), most dorsal cones showed an additional small response to UV.
We also tested a stimulus that used silent substitution (Figure 5b, right column; Materials and methods) (Estévez and Spekreijse, 1982). With this stimulus, we systematically found reduced UV responses in dorsal cones, resulting in a significant shift in SC towards more positive values (Figure 5c, right column; for statistics, see legend). In contrast, ventral cone responses were not altered by silent substitution.
These data demonstrate that our stimulator design enables obtaining cone-isolating responses in the mouse retina. Notably, the chromatic separation observed in the recordings nicely matches our predictions of cross-activation (see above and Materials and methods).
Tetrachromatic stimulation in in vivo zebrafish larvae
We recorded in vivo from bipolar cell (BC) axon terminals in zebrafish larvae using 2P Ca2+ imaging (Figure 6a). The transgenic line we used expressed SyGCaMP6f exclusively in BC axon terminals (Rosa et al., 2016). In these experiments, we presented full-field (90 × 120 degrees visual angle) steps or sine wave modulation of red, green, blue and UV light to the teflon screen in front of the immobilised animal (cf. Figure 2d,e). This revealed spectrally differential tuning of distinct BC terminals (Figure 6b,c), in line with a previous report (Zimmermann et al., 2018). For example, terminal one responded with a Ca2+ increase to a decrease in red light as well as to an increase in blue or UV light, yielding a ‘redOff/blueOn,UVOn’ response behaviour. In contrast, terminal four did not respond to red or green, but differentially responded to blue and UV (‘blueOff/UVOn’). Further differences were visible in the temporal profile of the BC responses. For example, terminal three responded more transiently to red and blue, but in a sustained fashion to UV. Similar to cone responses in the in vitro mouse retina, spectrally differential tuning of zebrafish BC terminals was also observed for a sine wave stimulus (Figure 6c). Taken together, tetrachromatic stimulation elicited clear differential responses across different wavelengths, thus highlighting that the stimulator’s spectral isolation between the four LED channels was sufficient to drive the zebrafish’s cone system differentially. To further improve spectral separation, a silent substitution protocol might be used (cf. Figure 5; see notebook on GitHub for details). However, as the sensitivity profiles of zebrafish cones substantially overlap (cf. Figure 1d), implementing a silent substitution protocol is more challenging than for the mouse.
Figure 6. Chromatic responses in bipolar cells of in vivo zebrafish larvae.
(a) Drawing illustrating the expression of the genetically encoded Ca2+ biosensor SyGCaMP6f in bipolar cell terminals (left) of tg(1.8ctbp2:SyGCaMP6f) zebrafish larvae and scan field of inner plexiform layer (IPL; right), with exemplary regions-of-interest (ROIs) marked by white circles. (b) Mean Ca2+ traces (black; n = 6 trials in grey) in response to red, green, blue and UV full-field flashes (90 × 120 degrees visual angle, presented to the fish’s right side). (c) Mean Ca2+ traces (black; n = 4 trials in grey) in response to full-field sine modulation (at 1 Hz) of red, green, blue and UV LED.
Discussion
In this paper, we present a flexible, relatively low-cost stimulator solution for visual neuroscience and demonstrate its use for dichromatic stimulation in the in vitro mouse retina and tetrachromatic stimulation in the in vivo larval zebrafish. The core of the stimulator is an LCr with a light guide port that connects to an external LED array. We also provide detailed calibration protocols (as iPython notebooks) to estimate (cross-)activation in a species’ complement of photoreceptor types, which facilitates planning of the LED/filter combinations required for selective chromatic stimulation. To drive the LEDs, we designed simple electronic circuits that make use of the LCr LED control signals and allow integrating an LED-on signal (‘blanking signal’) for synchronisation with data acquisition, which is critical, for example, for fluorescence imaging in the in vitro retina (Euler et al., 2009). By combining two LCrs, up to 6 LED channels are supported by our visual stimulation software (QDSpy). In addition, we describe three exemplary projection methods that allow tuning the system towards high spatial resolution (‘through-the-objective’) or a large field-of-stimulation (‘through-the-condenser’) for in vitro experiments, or presentation on a teflon screen for in vivo studies. All materials (electronics, optical design, software, parts lists etc.) are publically available and open source.
The need for ‘correct’ spectral stimulation
The spectral sensitivity markedly varies across common model organisms used in visual neuroscience (cf. Introduction). As a result, in most cases visual stimulation devices optimised for the human visual system do not allow ‘correct’ spectral stimulation, in the sense that the different photoreceptor types are not differentially activated by the stimulator LEDs. Instead, ‘correct’ spectral stimulation requires that the visual stimulator is well-adjusted to the specific spectral sensitivities of the model organism.
For example, while human S-opsin is blue-sensitive (reviewed in Jacobs, 2008), the S-opsin of mice shows its highest sensitivity in the UV range (Figure 1a) (Jacobs et al., 1991). As standard TFT monitors optimised for humans and routinely used in mouse in vivo studies do not emit in the UV range, they fail to activate mouse S-opsin (cf. Figure 3b). If then, due to space constraints, the stimulation monitors are positioned in the UV-sensitive upper visual field of the mouse (cf. Figure 1b), such a stimulator will mainly activate the rod pathway. As a result, the presentation of ‘truly’ mouse-relevant natural stimuli is hampered, if not impossible. In recent years, however, several studies used customised projectors that allow UV stimulation for investigating chromatic processing in, for example, dLGN (Denman et al., 2017) or V1 (Tan et al., 2015). Here, similar to the arrangement in our zebrafish stimulator (cf. Figure 2d), the image is either back-projected onto a UV-transmissive teflon screen (Tan et al., 2015) or projected onto a visual dome coated with UV-reflective paint (Denman et al., 2017). Both solutions are compatible with the mouse stimulator described above.
Even when the stimulator is adjusted to the spectral sensitivity of the model organism, each stimulator LED typically activates more than one photoreceptor type due to overlapping sensitivity profiles of the different opsins (cf. Figure 1). In particular, the long sensitivity tail of opsins for shorter wavelengths (‘β-band’) contributes to cross-activation of photoreceptors by the stimulator LEDs. For example, the sensitivity of mouse M-opsin to our UV LED results in a cross-activation of ~19.5% (cf. Figure 3f). Such ‘imperfect’ spectral separation of cone types is sufficient to investigate many questions concerning chromatic processing in the visual system – especially as there rarely is photoreceptor type-isolating stimulation in natural scenes (Chiao et al., 2000). If needed, photoreceptor cross-activation can be ameliorated by using a silent substitution protocol (Estévez and Spekreijse, 1982; but see Kamar et al., 2019). Here, one type of photoreceptor is selectively stimulated by presenting a steady excitation to all other photoreceptor types using a counteracting stimulus (cf. Figure 5b). This allows, for instance, to investigate the role of individual photoreceptor types in visual processing.
Stimulation with UV light
Sensitivity to UV light is widespread across animal species (reviewed in Cronin and Bok, 2016). Sometimes UV sensitivity may represent a specialised sensory channel; for example many insects and potentially some fish use UV-sensitive photoreceptors to detect polarisation patterns in the sky for orientation (Parkyn and Hawryshyn, 1993; Seliger et al., 1994; Wehner, 2001). In most cases, however, UV sensitivity seems to be simply incorporated into colour vision, extending the spectral range accessible to the species. Here, UV sensitivity can play an important role in invertebrate and vertebrate behaviour, including navigation and orientation, predator and prey detection, as well as communication (reviewed in Cronin and Bok, 2016).
For instance, mice possess a UV-sensitive S-opsin, which is co-expressed by M-cones predominantly in the ventral retina (; Baden et al., 2013). As the ventral retina observes the sky, it was proposed that the ventral UV sensitivity promotes detection of predatory birds, which appear as dark silhouettes against the sky. As UV light dominates the (clear) sky due to increased Rayleigh scattering of short wavelengths, contrasts tend to be higher in the UV channel (discussed in Applebury et al., 2000; Baden et al., 2013; Cronin and Bok, 2016). In support of this, recordings from mouse cones suggest that ventral S/M-cones prefer dark contrasts, whereas dorsal M-cones encode bright and dark contrasts symmetrically (Applebury et al., 2000; Baden et al., 2013).
Zebrafish larvae express the UV-sensitive sws2 opsin in their UV-cones. UV-vision in zebrafish is likely used for several tasks, including prey detection, predator and obstacle avoidance as well as colour vision (Yoshimatsu et al., 2019; Zimmermann et al., 2018). Like in mice, the distribution of UV-cones is non-uniform across the retinal surface. UV-cone density is highest in the temporo-ventral retina which surveys the upper-frontal part of visual space. This UV-specific area centralis is likely a specialisation for prey capture: Larval zebrafish feed on small, water-borne microorganisms such as paramecia, which are largely translucent at long wavelengths of light but readily scatter UV (Johnsen and Widder, 2001; Novales Flamarique, 2013). Next, unlike for most terrestrial animals, predators may appear in any part of visual space in the aquatic environment, and zebrafish invest in UV-dark detection of predator-silhouettes throughout visual space (Losey et al., 1999; Yoshimatsu et al., 2019; Zimmermann et al., 2018). Finally, UV-sensitivity is integrated into retinal circuits for colour vision to impact tetrachromatic vision, as originally demonstrated for goldfish (Neumeyer, 1992).
Taken together, to approach natural conditions when probing a UV-sensitive species’ visual system, UV stimulation must be included. Nonetheless, there are some pitfalls specifically linked to UV light stimulation. One major issue is that, in our experience, the standard LCr barely transmits wavelengths <385 nm. As the reflectance of the micromirrors (aluminium) drops only <300 nm and the glass window covering the DMD transmits ≥90% of the light down to 350 nm (see links in Table 1), one limiting factor appears to arise from the LCr optics. Therefore, if shorter wavelengths are required, replacing the internal optics of the projector is necessary (e.g. Tan et al., 2015). If the different stimulation wavelengths are spread across a large range (e.g. Δλ = 191 and 200 nm for zebrafish and mouse stimulator, respectively; cf. Figure 3a,c), chromatic aberration may become an issue, causing an offset between the focal planes of the different colour channels (cf. Figure 4—figure supplement 1). For our TTO stimulator configuration, we found a focus difference between UV and green in the order of a few tens of micrometers. For a checker size that is commonly used for receptive field mapping of retinal neurons (e.g. 40 µm; Baden et al., 2016), we observed only a slight image blurring due to chromatic aberration, that likely has a negligible effect on our experiments. If chromatic aberration becomes an issue, viable approaches may be to increase the depth-of-field (e.g. by decreasing the aperture size with a diaphragm in the stimulation pathway) and/or use appropriate achromatic lenses.
Potential issues and technical improvements
In this section, we discuss potential issues that may arise when adapting our stimulator design to other experimental situations, as well as possible technical improvements.
If too much stimulation light enters the PMTs, in addition to spectral separation also temporal separation of visual stimulation and data acquisition is needed. To address this problem, we presented here an electronic solution that allows the LEDs to be on only during the short retrace period of a scan line. However, if higher LED power and/or shorter LED-on intervals are needed, the design of the ‘blanking’ circuits becomes more challenging, because handling fast switching of high currents and voltages with short rise and decay times is difficult (e.g. see our ‘driver’ boards on GitHub). Here, an alternative is to use a mechanical chopper (see Table 1 and Alfonso-Garcia et al., 2019; Yang et al., 2019). Briefly, a custom 3D printed chopping blade is attached to the chopper and the system is mounted at an appropriate position in the light path such that the blade is able to block the stimulus during the system’s scanning period. The blanking signal from the microscope software (see Results) is used to synchronise chopper rotation speed. The main advantage of this solution is that it works with any stimulator and without meddling with its electronics. Disadvantages include, however, (i) mechanical vibrations and spinning noise, (ii) that different scanning modes require different chopping blades, and (iii) the additional costs for the chopper.
For increased flexibility with respect to the LED complement of the visual stimulator, we here use an external LED unit coupled into the LCr via a light guide port (cf. Figure 2). One disadvantage with this LCr model is, however, that it passes only a relatively small fraction of the light entering the light guide port. While this is not problematic for small projection areas used in our mouse and zebrafish recordings or for relatively low light intensities, it may become an issue when projecting the stimulus onto a larger area like the inside of a dome (e.g. Denman et al., 2017; Schmidt-Hieber and Häusser, 2013). Here, LCr models with built-in, high-power LEDs might be a better option (Table 4; Supplementary file 1).
If high spatial resolution is not required, an interesting alternative to a projector-based stimulator is one built from arrays of LEDs (e.g. Reiser and Dickinson, 2008; Wang et al., 2019). The main advantage of LED arrays is that they offer a more precise timing control compared to the combination of HDMI display and PC graphics card driven by software running on a desktop PC. Hence, LED arrays may allow refresh rates in the range of several hundreds of Hz (Reiser and Dickinson, 2008). However, apart from their lower spatial resolution, current LED arrays only support a low number of colour channels, making them less well suitable for chromatic processing studies. In addition, LED arrays typically require customised control electronics, whereas stimulators based on standard HDMI displays can be driven by the experimenter’s software of choice.
For the experiments shown here, we run the LCr for simplicity in ‘video mode’, where it acts as a normal 60 Hz HDMI display. It is also possible to configure the LCr’s firmware in ‘pattern mode’ without requiring changes to the stimulator hardware. In pattern mode, the user can precisely define how the incoming stream of RGB bitplanes is interpreted and displayed. For example, it is possible to assign multiple LEDs to individual bitplanes and combinations thereof. Moreover, if a lower bit depth is acceptable, much higher frame rates can be achieved. While QDSpy supports the pattern mode, stimulus design can be more challenging, because the LCr receives its video input as 24 bit RGB data frames at a rate of 60 Hz, no matter how pattern mode interprets these data. For example, when configuring the LCr for 120 Hz (at half the bit depth), two consecutive ‘display frames’ need to be encoded in one 24-bit data frame by the stimulation software. Hence, the user should have a thorough knowledge of the LCr’s design, and studying the documentation of the LCr’s programming interface provided by Texas Instruments is recommended (for further details, see links in Table 1).
Towards a common stimulator design for vision research
Visual neuroscientists fundamentally rely on accurate stimulation, which not only includes choosing the appropriate spatial and temporal resolution, but also free control over the spectral properties. However, unlike for other equipment, such as amplifiers for electrophysiology, there is no selection of ‘standardised’ stimulation devices. Due to the lack of standardised yet flexible visual stimulators, many vision researchers employ specialised, often incompletely described solutions that address the needs of a particular experiment. This, in turn, may yield substantial problems in reproducibility and interpretation when comparing physiological data between laboratories. Here, we provide a detailed description of a highly flexible visual stimulator solution that uses commercial hardware only where necessary and otherwise relies on open hard- and software components. As our design can be easily adapted to different species’ and the experimentalist’s needs, it is suitable for a wide range of applications, ranging from psychophysics to single-cell physiology. By combining two LCrs and running them in pattern mode, structured stimulation with up to six chromatic channels at high frame rates is possible, which is critical for species with more than three spectral photoreceptor types and higher flicker fusion rates, such as many insects.
With this paper, we intend to start a community effort of sharing and further developing a common stimulator design for vision science. As the programming interface of the used DLP engine is publicly available, our system can also serve as a useful starting point for further community developments. To foster interactions, we set up a public GitHub repository inviting other vision researchers to use, share, and improve our design. With this effort, we hope to increase comparability and reproducibility of data in the field of visual neuroscience across labs.
Materials and methods
Key resources table.
Reagent type (species) or resource | Designation | Source or reference | Identifiers | Additional information |
---|---|---|---|---|
Genetic reagent (Mus musculus) |
HR2.1:TN-XL | Wei et al., 2012 | Dr. Bernd Wissinger (Tübingen University) | |
Genetic reagent (Danio rerio) |
tg(1.8ctbp2:SyGCaMP6f) | Rosa et al., 2016 | Dr. Leon Lagnado (Sussex University) |
|
Software, algorithm | KiCad EDA | http://kicad-pcb.org/ | Electronics design software | |
Software, algorithm | OpenSCAD | http://www.openscad.org | 3D CAD software |
Note that the general stimulator design, operation and performance testing is described in the Results section. The respective parts for the mouse and the zebrafish stimulator versions are listed in Tables 2 and 3, respectively. Hence, this section focuses on details about the calibration procedures, 2P imaging, animal procedures, and data analysis.
Intensity calibration and gamma correction
The purpose of the intensity calibration is to ensure that each LED evokes a similarly maximal photoisomerisation rate in its respective spectral cone type, whereas the gamma correction aims at linearising each LED’s intensity curve. All calibration procedures are described in detail in the iPython notebooks included in the open-visual-stimulator GitHub repository (for link, see Table 1).
In case of the mouse stimulator, we used a photo-spectrometer (USB2000, 350–1000 nm, Ocean Optics, Ostfildern, Germany) that can be controlled and read-out from the iPython notebooks. It was coupled by an optic fibre and a cosine corrector (FOV 180°, 3.9 mm aperture) to the bottom of the recording chamber of the 2P microscope and positioned approximately in the stimulator’s focal plane. For intensity calibration, we displayed a bright spot (1,000 µm in diameter, max. intensity) of green and UV light to obtain spectra of the respective LEDs. We used a long integration time (1 s) and fitted the average of several reads (n = 10 for green; n = 50 reads for UV) with a Gaussian to remove shot noise. This yielded reliable measurements also at low LED intensities, which was particularly critical for UV LEDs.
The spectrometer output () was divided by the integration time (, in s) to obtain counts/s and then converted into electrical power (, in nW) using the calibration data (, in µJ/count) provided by Ocean Optics,
(1) |
with wavelength . To obtain the photoisomerisation rate per photoreceptor type, we first converted from electrical power into energy flux (, in eV/s),
(2) |
where = 6.242 ⋅1018 eV/J. Next, we calculated the photon flux (, in photons/s) using the photon energy Q (, in eV),
(3) |
(4) |
with the speed of light, = 299,792,458 m/s, and Planck’s constant, = 4.135667 ⋅10-15 eV⋅s. The photon flux density (, [photons/s/µm2]) was then computed as
(5) |
where (in µm2) corresponds to the light stimulus area. To convert into photoisomerisation rate, we next determined the effective activation () of mouse photoreceptor types by the LEDs as
(6) |
with the peak-normalised spectra of the M- and S-opsins, , and the green and UV LEDs, . Sensitivity spectra of mouse opsins were derived from Equation 8 in Stockman and Sharpe (2000).
For our LEDs (Table 2), the effective mouse M-opsin activation was 14.9% and 10.5% for the green and UV LED, respectively. The mouse S-opsin is only expected to be activated by the UV LED (52.9%) (Figure 3a, f). Next, we estimated the photon flux (, [photons/s]) for each photoreceptor as
(7) |
where µm2 corresponds to the light collection area of cone outer segments (Nikonov et al., 2006). The photoisomerisation rate (, P*/photoreceptor/s) for each combination of LED and photoreceptor type was estimated using
(8) |
see Nikonov et al. (2006) for details. The intensities of the mouse stimulator LEDs were manually adjusted (Figure 2—figure supplement 5b,c) to an approximately equal photoisomerisation range from (in P*/cone/s ⋅103) 0.6 and 0.7 (stimulator shows black image) to 19.5 and 19.2 (stimulator shows white image) for M- and S-opsins, respectively (cf. Figure 3f). This corresponds to the low photopic range. The M-opsin sensitivity spectrum displays a ‘tail’ in the short wavelength range (due to the opsin’s β-band, see Figure 1a and Stockman and Sharpe, 2000), which means that it should be cross-activated by our UV LED. Specifically, while S-opsin should be solely activated by the UV LED (19.2 by UV vs. 0.1 by green; in P*/cone/s ⋅103), we expect M-opsin to be activated by both LEDs (19.5 by green vs. 3.8 by UV). The effect of such cross-activation can be addressed, for instance, by silent substitution (see below).
To account for the non-linearity of the stimulator output using gamma correction, we recorded spectra for each LED for different intensities (1,000 µm spot diameter; pixel values from 0 to 254 in steps of 2) and estimated the photoisomerisation rates, as described above. From these data, we computed a lookup table (LUT) that allows the visual stimulus software (QDSpy) to linearise the intensity functions of each LED (cf. Figure 3e; for details, see iPython notebooks; Table 1).
In case of the zebrafish stimulator, to determine the LED spectra, we used a compact CCD Spectrometer (CCS200/M, Thorlabs, Dachau, Germany) in combination with the Thorlabs Optical Spectrum Analyzers (OSA) software, coupled to a linear fibre patch cable. To determine the electrical power (, in nW), we used an optical energy power meter (PM100D, Thorlabs) in combination with the Thorlabs Optical Power Monitor (OPM) software, coupled to a photodiode power sensor (S130VC, Thorlabs). Both probes were positioned behind the teflon screen (0.15 mm, for details, see Table 3). Following the same procedure as described above, we determined the photoisomerisation rate (, P*/photoreceptor/s) for each combination of LED and photoreceptor type (cf. iPython notebooks; Table 1).
Spatial resolution measurements
To measure the spatial resolution of the mouse stimulator, we removed the lens of a Raspberry Pi camera chip (OV5647, Eckstein GmbH, Clausthal-Zellerfeld, Germany) and positioned it at the level of the recording chamber. Then, we projected UV and green checkerboards of varying checker sizes (2, 3, 4, 5, 10, 20, 30, 40, 60, 80, and 100 µm) through an objective lens (MPL5XBD (5x), Olympus, Germany) or through the condenser onto the chip of the camera (Figure 4a). For each checker size and LED, we extracted intensity profiles using ImageJ (Figure 4b) and estimated the respective contrast as (Figure 4c). To quantify the steepness of the transition between bright and dark checkers, we peak-normalised the intensity profiles and normalised relative to half-width of the maximum (Figure 4d). Next, we fitted a sigmoid to the rising phase of the intensity profile
(9) |
and used as estimate of the rise time and as a proxy for ‘sharpness’ of the transitions between black and white pixels (Figure 4e).
To measure the difference in focal plane of UV and green LED due to chromatic aberration, we projected a 40 and 100 µm checkerboard through a 20x objective (W Plan-Apochromat 20×/1.0 DIC M27, Zeiss, Oberkochen, Germany) onto the Raspberry Pi camera (see above).
Fast intensity measurements
To verify temporal separation, we measured the time course of the green LED (mouse stimulator) with and without blanking using a PMT positioned at the level of the recording chamber (Figure 2—figure supplement 2a). Traces were recorded with pClamp at 250 kHz (Molecular Devices, Biberach an der Riss, Germany). To estimate the amount of intensity modulation due to aliasing (Figure 2—figure supplement 2b), we measured the intensity of both LEDs together (‘white’) driven by a chirp stimulus with blanking at the same position using a photodiode (Siemens silicon photodiode BPW 21, Reichelt, Sande, Germany; as light-dependent current source in a transimpedance amplifier circuit). Next, intensity traces were box-smoothed with a box width of 100 ms, which roughly corresponds to the integration time of mouse cone photoreceptors (Umino et al., 2008).
Silent substitution
For our measurements in mouse cones, we used a silent substitution protocol (Estévez and Spekreijse, 1982) for generating opsin-isolating stimuli to account for the cross-activation of mouse M-opsin by the UV LED. Here, one opsin type is selectively stimulated by presenting a scaled, counterphase version of the stimulus to all other opsin types (cf. Figure 5). Specifically, we first used the ratio of activation (as photoisomerisation rate) of M-opsin by UV and green to estimate the amount of cross-activation (). For our recordings, an activation of M-opsin of 19.5 and 3.8 P*/cone/s ⋅103 for green and UV LED resulted in a cross-activation of 0.195. Then, was used to scale the intensity of the counterphase stimulus:
(10) |
For our recordings in zebrafish larvae, we did not use silent substitution. However, we describe a possible approach for the zebrafish (or a comparable tetrachromatic species) in our online resources (Table 1).
Animals and tissue preparation
All animal procedures (mice) were approved by the governmental review board (Regierungspräsidium Tübingen, Baden-Württemberg, Konrad-Adenauer-Str. 20, 72072 Tübingen, Germany) and performed according to the laws governing animal experimentation issued by the German Government. All animal procedures (zebrafish) were performed in accordance with the UK Animals (Scientific Procedures) Act 1986 and approved by the animal welfare committee of the University of Sussex (zebrafish larvae).
For the mouse experiments, we used one 12-week-old HR2.1:TN-XL mouse; this mouse line expresses the ratiometric Ca2+ biosensor TN-XL under the cone-specific HR2.1 promoter and allows measuring light-evoked Ca2+ responses in cone synaptic terminals (Wei et al., 2012). Animals were housed under a standard 12 hr day-night rhythm. Before the recordings, the mouse was dark-adapted for ≥1 hr, then anaesthetized with isoflurane (Baxter, Unterschleißheim, Germany) and killed by cervical dislocation. The eyes were removed and hemisected in carboxygenated (95% O2, 5% CO2) artificial cerebrospinal fluid (ACSF) solution containing (in mM): 125 NaCl, 2.5 KCl, 2 CaCl2, 1 MgCl2, 1.25 NaH2PO4, 26 NaHCO3, 20 glucose, and 0.5 L-glutamine (pH 7.4). The retina was separated from the eye-cup, cut in half, flattened, and mounted photoreceptor side-up on a nitrocellulose membrane (0.8 mm pore size, Merck Millipore, Darmstadt, Germany). Using a custom-made slicer (Wei et al., 2012; Werblin, 1978), acute vertical slices (200 µm thick) were cut parallel to the naso-temporal axis. Slices attached to filter paper were transferred on individual glass coverslips, fixed using high-vacuum grease and kept in a storing chamber at room temperature for later use. For imaging, individual retinal slices were transferred to the recording chamber of the 2P microscope (see below), where they were continuously perfused with warmed (36°C), carboxygenated extracellular solution.
For the zebrafish larvae experiments, we used 7 day post fertilisation (dpf) larvae of the zebrafish (Danio rerio) line tg(1.8ctbp2:SyGCaMP6f), which expresses the genetically encoded Ca2+ indicator GCaMP6f fused with synaptophysin under the RibeyeA promoter and allows measuring light-evoked Ca2+ responses in bipolar cell synaptic terminals (Dreosti et al., 2009; Johnston et al., 2019; Rosa et al., 2016; Zimmermann et al., 2018). Animals were grown from 10 hr post fertilisation (hpf) in 200 µM of 1-phenyl-2-thiourea (Sigma) to prevent melanogenesis (Karlsson et al., 2001). Animals were housed under a standard 14/10 hr day-night rhythm and fed 3x a day. Before the recordings, zebrafish larvae were immobilised in 2% low-melting-point agarose (Fischer Scientific, Loughborough, UK; Cat: BP1360-100), placed on a glass coverslip and submersed in fish water. To prevent eye movement during recordings, α-bungarotoxin (1 nl of 2 mg/ml; Tocris, Bristol, UK; Cat: 2133) was injected into the ocular muscles behind the eye.
Two-photon imaging
For all imaging experiments, we used MOM-type two-photon (2P) microscopes (designed by W. Denk, MPI, Heidelberg; purchased from Sutter Instruments/Science Products, Hofheim, Germany). For image acquisition, we used custom software (ScanM by M. Müller, MPI Neurobiology, Munich, and T.E.) running under IGOR Pro 6.3 for Windows (Wavemetrics, Lake Oswego, OR). The microscopes were equipped each with a mode-locked Ti:Sapphire laser (MaiTai-HP DeepSee, Newport Spectra-Physics, Darmstadt, Germany; or Chameleon Vision-S, Coherent; Ely, UK), two fluorescence detection channels for eCFP (FRET donor; HQ 483/32, AHF, Tübingen, Germany) and citrine (FRET acceptor; HQ 538/50, AHF) or GCaMP6f (ET 525/70 or ET 525/50, AHF), and a water immersion objective (W Plan-Apochromat 20×/1.0 DIC M27, Zeiss, Oberkochen, Germany). The excitation laser was tuned to 860 nm and 927 nm for TN-XL (eCFP) in mouse and GCaMP6f in zebrafish, respectively. Time-lapsed image series were recorded with 64 × 16 pixels (at 31.25 Hz) or 128 × 64 (at 15.625 Hz). Detailed descriptions of the setups for mouse (Euler et al., 2019; Euler et al., 2009; Franke et al., 2017) and zebrafish (Zimmermann et al., 2018) have been published elsewhere.
Data analysis
Data analysis was performed using IGOR Pro (Wavemetrics). Regions of interest (ROIs) of individual synaptic terminals (of mouse cones and zebrafish bipolar cells) were manually placed. Then, Ca2+ traces for each ROI were extracted for mouse cones as , with the ratio of the FRET acceptor (citrine) and donor (eCFP) fluorescence, and resampled at 500 Hz. For zebrafish bipolar cells, Ca2+ traces for each ROI were extracted and detrended by high-pass filtering above ~0.1 Hz, followed by z-normalisation based on the time interval 1–6 s at the beginning of recordings using custom-written routines under IGOR Pro. A stimulus synchronisation marker that was generated by the visual stimulation software (Results) and embedded in the recordings served to align the Ca2+ traces relative to the stimulus with ≤2 ms precision (depending on the scan line duration, see Results and Euler et al., 2019). For this, the timing for each ROI was corrected for sub-frame time-offsets related to the scanning.
Response quality index. To measure how well a cell responded to the sine wave stimulus, we computed the signal-to-noise ratio
(11) |
where is the by response matrix (time samples by stimulus repetitions), while and denote the mean and variance across the indicated dimension, respectively (Baden et al., 2016; Franke et al., 2017). For further analysis, we used only cells that had a .
Spectral contrast. The mean trace in response to the green and UV sine wave stimulus was used to analyse the spectral sensitivity of the cones. For that, we computed the power spectrum of the trace and used the power () at the fundamental frequency (1 Hz) as a measure of response strength. Then, the spectral contrast () was estimated as
(12) |
where and correspond to the responses to green and UV, respectively. For statistical comparison of values with and without silent substitution (see above), we used the Wilcoxon signed-rank test for non-parametric, paired samples.
Acknowledgements
This study is part of the research program of the Bernstein Centre for Computational Neuroscience, Tübingen, and was funded by the German Federal Ministry of Education and Research and the Max Planck Society (BMBF, FKZ: 01GQ1002, and MPG M.FE.A.KYBE0004 to KF), the European Research Council (ERC-StG ‘NeuroVisEco’ 677687 to TB) the EU’s Horizon 2020 research and innovation programme under the Marie Skłodowska-Curie grant agreement No 674901 (‘switchBoard’, to TB, TE), the UKRI (BBSRC, BB/R014817/1 and MRC, MC_PC_15071 to TB), the Leverhulme Trust (PLP-2017–005 to TB), the Lister Institute for Preventive Medicine (to TB), and the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation; Projektnummer 276693517 – SFB 1233 to TE).
Funding Statement
The funders had no role in study design, data collection and interpretation, or the decision to submit the work for publication.
Contributor Information
Thomas Euler, Email: thomas.euler@cin.uni-tuebingen.de.
Alexander Borst, Max Planck Institute of Neurobiology, Germany.
Joshua I Gold, University of Pennsylvania, United States.
Funding Information
This paper was supported by the following grants:
Bundesministerium für Bildung und Forschung FKZ: 01GQ1002 to Katrin Franke.
Max-Planck-Gesellschaft M.FE.A.KYBE0004 to Katrin Franke.
European Commission ERC-StG 'NeuroVisEco' 677687 to Tom Baden.
Horizon 2020 Framework Programme Marie Skłodowska-Curie grant agreement No 674901 to Tom Baden, Thomas Euler.
Biotechnology and Biological Sciences Research Council BB/R014817/1 to Tom Baden.
Leverhulme Trust PLP-2017-005 to Tom Baden.
Lister Institute of Preventive Medicine to Tom Baden.
Deutsche Forschungsgemeinschaft Projektnummer 276693517 - SFB 1233 to Thomas Euler.
Medical Research Council MC_PC_15071 to Tom Baden.
Additional information
Competing interests
No competing interests declared.
Author contributions
Conceptualization, Supervision, Funding acquisition, Investigation, Visualization, Methodology, Writing—original draft, Writing—review and editing.
Conceptualization, Validation, Methodology, Writing—review and editing.
Conceptualization, Validation, Visualization, Methodology, Writing—review and editing.
Conceptualization, Validation, Investigation, Visualization, Writing—review and editing.
Validation, Methodology.
Validation, Methodology.
Validation, Methodology.
Conceptualization, Funding acquisition, Visualization, Writing—review and editing.
Conceptualization, Software, Supervision, Funding acquisition, Visualization, Methodology, Writing—original draft, Writing—review and editing.
Ethics
Animal experimentation: All animal procedures adhered to the laws governing animal experimentation issued by the German Government (mouse) or all procedures were performed in accordance with the UK Animals (Scientific Procedures) act 1986 and approved by the animal welfare committee of the University of Sussex (zebrafish larvae).
Additional files
Data availability
Part lists are provided in Tables 1-3 and Supplementary file 1. Software scripts for stimulus calibration as well as design files for circuit boards and 3D-printed parts are provided at https://github.com/eulerlab/open-visual-stimulator (copy archived at https://github.com/elifesciences-publications/open-visual-stimulator). The visual stimulation software is provided at https://github.com/eulerlab/QDSpy (copy archived at https://github.com/elifesciences-publications/QDSpy).
References
- Ahrens MB, Orger MB, Robson DN, Li JM, Keller PJ. Whole-brain functional imaging at cellular resolution using light-sheet microscopy. Nature Methods. 2013;10:413–420. doi: 10.1038/nmeth.2434. [DOI] [PubMed] [Google Scholar]
- Alfonso-Garcia A, Li C, Bec J, Yankelevich D, Marcu L, Sherlock B. Fiber-based platform for synchronous imaging of endogenous and exogenous fluorescence of biological tissue. Optics Letters. 2019;44:3350–3353. doi: 10.1364/OL.44.003350. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Applebury ML, Antoch MP, Baxter LC, Chun LL, Falk JD, Farhangfar F, Kage K, Krzystolik MG, Lyass LA, Robbins JT. The murine cone photoreceptor: a single cone type expresses both S and M opsins with retinal spatial patterning. Neuron. 2000;27:513–523. doi: 10.1016/s0896-6273(00)00062-3. [DOI] [PubMed] [Google Scholar]
- Baden T, Schubert T, Chang L, Wei T, Zaichuk M, Wissinger B, Euler T. A tale of two retinal domains: near-optimal sampling of achromatic contrasts in natural scenes through asymmetric photoreceptor distribution. Neuron. 2013;80:1206–1217. doi: 10.1016/j.neuron.2013.09.030. [DOI] [PubMed] [Google Scholar]
- Baden T, Berens P, Franke K, Román Rosón M, Bethge M, Euler T. The functional diversity of retinal ganglion cells in the mouse. Nature. 2016;529:345–350. doi: 10.1038/nature16468. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Baden T, Osorio D. The retinal basis of vertebrate color vision. Annual Review of Vision Science. 2019;5:177–200. doi: 10.1146/annurev-vision-091718-014926. [DOI] [PubMed] [Google Scholar]
- Boström JE, Dimitrova M, Canton C, Håstad O, Qvarnström A, Ödeen A. Ultra-Rapid vision in birds. PLOS ONE. 2016;11:e0151099. doi: 10.1371/journal.pone.0151099. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Branchek T, Bremiller R. The development of photoreceptors in the zebrafish, Brachydanio rerio. I. structure. The Journal of Comparative Neurology. 1984;224:107–115. doi: 10.1002/cne.902240109. [DOI] [PubMed] [Google Scholar]
- Chiao C-C, Cronin TW, Osorio D. Color signals in natural scenes: characteristics of reflectance spectra and effects of natural illuminants. Journal of the Optical Society of America A. 2000;17:218–224. doi: 10.1364/JOSAA.17.000218. [DOI] [PubMed] [Google Scholar]
- Chinen A, Hamaoka T, Yamada Y, Kawamura S. Gene duplication and spectral diversification of cone visual pigments of zebrafish. Genetics. 2003;163:663–675. doi: 10.1093/genetics/163.2.663. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Cronin TW, Bok MJ. Photoreception and vision in the ultraviolet. The Journal of Experimental Biology. 2016;219:2790–2801. doi: 10.1242/jeb.128769. [DOI] [PubMed] [Google Scholar]
- Dartnall HJ, Bowmaker JK, Mollon JD. Human visual pigments: microspectrophotometric results from the eyes of seven persons. Proceedings of the Royal Society of London. Series B, Biological Sciences. 1983;220:115–130. doi: 10.1098/rspb.1983.0091. [DOI] [PubMed] [Google Scholar]
- Delmans M, Haseloff J. μCube: A framework for 3D printable optomechanics. Journal of Open Hardware. 2018;2 doi: 10.5334/joh.8. [DOI] [Google Scholar]
- Denman DJ, Siegle JH, Koch C, Reid RC, Blanche TJ. Spatial organization of chromatic pathways in the mouse dorsal lateral geniculate nucleus. The Journal of Neuroscience. 2017;37:1102–1116. doi: 10.1523/JNEUROSCI.1742-16.2016. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Dreosti E, Odermatt B, Dorostkar MM, Lagnado L. A genetically encoded reporter of synaptic activity in vivo. Nature Methods. 2009;6:883–889. doi: 10.1038/nmeth.1399. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Ebrey T, Koutalos Y. Vertebrate photoreceptors. Progress in Retinal and Eye Research. 2001;20:49–94. doi: 10.1016/S1350-9462(00)00014-8. [DOI] [PubMed] [Google Scholar]
- Estévez O, Spekreijse H. The "silent substitution" method in visual research. Vision Research. 1982;22:681–691. doi: 10.1016/0042-6989(82)90104-3. [DOI] [PubMed] [Google Scholar]
- Euler T, Hausselt SE, Margolis DJ, Breuninger T, Castell X, Detwiler PB, Denk W. Eyecup scope—optical recordings of light stimulus-evoked fluorescence signals in the retina. Pflügers Archiv - European Journal of Physiology. 2009;457:1393–1414. doi: 10.1007/s00424-008-0603-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Euler T, Franke K, Baden T. Studying a light sensor with light: multiphoton imaging in the retina. Preprints. 2019 doi: 10.20944/preprints201903.0244.v1. [DOI]
- Euler T, Maia Chagas A, Zimmerman MJY, Baden T, Zhao Z, Franke K. Open Visual Stimulator. GitHub; 2019a. https://github.com/elifesciences-publications/open-visual-stimulator [DOI] [PMC free article] [PubMed] [Google Scholar]
- Euler T. QDSpy. GitHub; 2019b. https://github.com/eulerlab/QDSpy [Google Scholar]
- Feuda R, Marlétaz F, Bentley MA, Holland PW. Conservation, duplication, and divergence of five opsin genes in insect evolution. Genome Biology and Evolution. 2016;8:579–587. doi: 10.1093/gbe/evw015. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Franke K, Berens P, Schubert T, Bethge M, Euler T, Baden T. Inhibition decorrelates visual feature representations in the inner retina. Nature. 2017;542:439–444. doi: 10.1038/nature21394. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Guggiana-Nilo DA, Engert F. Properties of the visible light phototaxis and UV avoidance behaviors in the larval zebrafish. Frontiers in Behavioral Neuroscience. 2016;10:160. doi: 10.3389/fnbeh.2016.00160. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Haberkern H, Basnak MA, Ahanonu B, Schauder D, Cohen JD, Bolstad M, Bruns C, Jayaraman V. Visually guided behavior and optogenetically induced learning in Head-Fixed flies exploring a virtual landscape. Current Biology. 2019;29:1647–1659. doi: 10.1016/j.cub.2019.04.033. [DOI] [PubMed] [Google Scholar]
- Haug MF, Biehlmaier O, Mueller KP, Neuhauss SC. Visual acuity in larval zebrafish: behavior and histology. Frontiers in Zoology. 2010;7:8. doi: 10.1186/1742-9994-7-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Haverkamp S, Wässle H, Duebel J, Kuner T, Augustine GJ, Feng G, Euler T. The primordial, blue-cone color system of the mouse retina. Journal of Neuroscience. 2005;25:5438–5445. doi: 10.1523/JNEUROSCI.1117-05.2005. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Hecht S, Verrijp CD. Intermittent stimulation by light : iii. the relation between intensity and critical fusion frequency for different retinal locations. The Journal of General Physiology. 1933;17:251–268. doi: 10.1085/jgp.17.2.251. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Hollbach N, Tappeiner C, Jazwinska A, Enzmann V, Tschopp M. Photopic and scotopic spatiotemporal tuning of adult zebrafish vision. Frontiers in Systems Neuroscience. 2015;9:20. doi: 10.3389/fnsys.2015.00020. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Hornbeck LJ, inventor. Multi-level digital micromirror device. US5583688A. Texas Instruments Inc. 1996 https://patents.google.com/patent/US5583688A/en
- Jacobs GH, Neitz J, Deegan JF. Retinal receptors in rodents maximally sensitive to ultraviolet light. Nature. 1991;353:655–656. doi: 10.1038/353655a0. [DOI] [PubMed] [Google Scholar]
- Jacobs GH. Primate color vision: a comparative perspective. Visual Neuroscience. 2008;25:619–633. doi: 10.1017/S0952523808080760. [DOI] [PubMed] [Google Scholar]
- Jeon CJ, Strettoi E, Masland RH. The major cell populations of the mouse retina. The Journal of Neuroscience. 1998;18:8936–8946. doi: 10.1523/JNEUROSCI.18-21-08936.1998. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Johnsen S, Widder EA. Ultraviolet absorption in transparent zooplankton and its implications for depth distribution and visual predation. Marine Biology. 2001;138:717–730. doi: 10.1007/s002270000499. [DOI] [Google Scholar]
- Johnston J, Seibel SH, Darnet LSA, Renninger S, Orger M, Lagnado L. A retinal circuit generating a dynamic predictive code for oriented features. Neuron. 2019;102:1211–1222. doi: 10.1016/j.neuron.2019.04.002. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Jun JJ, Steinmetz NA, Siegle JH, Denman DJ, Bauza M, Barbarits B, Lee AK, Anastassiou CA, Andrei A, Aydın Ç, Barbic M, Blanche TJ, Bonin V, Couto J, Dutta B, Gratiy SL, Gutnisky DA, Häusser M, Karsh B, Ledochowitsch P, Lopez CM, Mitelut C, Musa S, Okun M, Pachitariu M, Putzeys J, Rich PD, Rossant C, Sun WL, Svoboda K, Carandini M, Harris KD, Koch C, O'Keefe J, Harris TD. Fully integrated silicon probes for high-density recording of neural activity. Nature. 2017;551:232–236. doi: 10.1038/nature24636. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Kamar S, Howlett MHC, Kamermans M. Silent-substitution stimuli silence the light responses of cones but not their output. Journal of Vision. 2019;19:14. doi: 10.1167/19.5.14. [DOI] [PubMed] [Google Scholar]
- Karlsson J, von Hofsten J, Olsson P-E. Generating transparent zebrafish: a refined method to improve detection of gene expression during embryonic development. Marine Biotechnology. 2001;3:0522–0527. doi: 10.1007/s1012601-0053-4. [DOI] [PubMed] [Google Scholar]
- Kemmler R, Schultz K, Dedek K, Euler T, Schubert T. Differential regulation of cone calcium signals by different horizontal cell feedback mechanisms in the mouse retina. Journal of Neuroscience. 2014;34:11826–11843. doi: 10.1523/JNEUROSCI.0272-14.2014. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Li YN, Tsujimura T, Kawamura S, Dowling JE. Bipolar cell-photoreceptor connectivity in the zebrafish (Danio rerio) retina. The Journal of Comparative Neurology. 2012;520:3786–3802. doi: 10.1002/cne.23168. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Losey GS, Cronin TW, Goldsmith TH, Hyde D, Marshall NJ, McFarland WN. The UV visual world of fishes: a review. Journal of Fish Biology. 1999;54:921–943. doi: 10.1111/j.1095-8649.1999.tb00848.x. [DOI] [Google Scholar]
- Marshall J, Arikawa K. Unconventional colour vision. Current Biology. 2014;24:R1150–R1154. doi: 10.1016/j.cub.2014.10.025. [DOI] [PubMed] [Google Scholar]
- Miall RC. The flicker fusion frequencies of six laboratory insects, and the response of the compound eye to mains fluorescent ‘ripple’. Physiological Entomology. 1978;3:99–106. doi: 10.1111/j.1365-3032.1978.tb00139.x. [DOI] [Google Scholar]
- Morris AC, Fadool JM. Studying rod photoreceptor development in zebrafish. Physiology & Behavior. 2005;86:306–313. doi: 10.1016/j.physbeh.2005.08.020. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Nathans J, Thomas D, Hogness DS. Molecular genetics of human color vision: the genes encoding blue, green, and red pigments. Science. 1986;232:193–202. doi: 10.1126/science.2937147. [DOI] [PubMed] [Google Scholar]
- Neumeyer C. Tetrachromatic color vision in goldfish: evidence from color mixture experiments. Journal of Comparative Physiology A. 1992;171:639–649. doi: 10.1007/BF00194111. [DOI] [Google Scholar]
- Nikonov SS, Kholodenko R, Lem J, Pugh EN. Physiological features of the S- and M-cone photoreceptors of wild-type mice from single-cell recordings. The Journal of General Physiology. 2006;127:359–374. doi: 10.1085/jgp.200609490. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Novales Flamarique I. Opsin switch reveals function of the ultraviolet cone in fish foraging. Proceedings of the Royal Society B: Biological Sciences. 2013;280:20122490. doi: 10.1098/rspb.2012.2490. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Parkyn DC, Hawryshyn CW. Polarized-light sensitivity in rainbow trout (Oncorhynchus mykiss): characterization from multi-unit responses in the optic nerve. Journal of Comparative Physiology A. 1993;172:493–500. doi: 10.1007/BF00213531. [DOI] [Google Scholar]
- Reiser MB, Dickinson MH. A modular display system for insect behavioral neuroscience. Journal of Neuroscience Methods. 2008;167:127–139. doi: 10.1016/j.jneumeth.2007.07.019. [DOI] [PubMed] [Google Scholar]
- Rogerson LE, Zhao Z, Franke K, Euler T, Berens P. Bayesian hypothesis testing and experimental design for two-photon imaging data. PLOS Computational Biology. 2019;15:e1007205. doi: 10.1371/journal.pcbi.1007205. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Röhlich P, van Veen T, Szél A. Two different visual pigments in one retinal cone cell. Neuron. 1994;13:1159–1166. doi: 10.1016/0896-6273(94)90053-1. [DOI] [PubMed] [Google Scholar]
- Rosa JM, Ruehle S, Ding H, Lagnado L. Crossover inhibition generates sustained visual responses in the inner retina. Neuron. 2016;90:308–319. doi: 10.1016/j.neuron.2016.03.015. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Salcedo E, Huber A, Henrich S, Chadwell LV, Chou WH, Paulsen R, Britt SG. Blue- and green-absorbing visual pigments of Drosophila: ectopic expression and physiological characterization of the R8 photoreceptor cell-specific Rh5 and Rh6 rhodopsins. The Journal of Neuroscience. 1999;19:10716–10726. doi: 10.1523/JNEUROSCI.19-24-10716.1999. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Schmidt-Hieber C, Häusser M. Cellular mechanisms of spatial navigation in the medial entorhinal cortex. Nature Neuroscience. 2013;16:325–331. doi: 10.1038/nn.3340. [DOI] [PubMed] [Google Scholar]
- Schnaitmann C, Haikala V, Abraham E, Oberhauser V, Thestrup T, Griesbeck O, Reiff DF. Color processing in the early visual system of Drosophila. Cell. 2018;172:318–330. doi: 10.1016/j.cell.2017.12.018. [DOI] [PubMed] [Google Scholar]
- Seliger HH, Lall AB, Biggley WH. Blue through UV polarization sensitivities in insects. Journal of Comparative Physiology A. 1994;175:475–486. doi: 10.1007/BF00199255. [DOI] [Google Scholar]
- Stockman A, Sharpe LT. The spectral sensitivities of the middle- and long-wavelength-sensitive cones derived from measurements in observers of known genotype. Vision Research. 2000;40:1711–1737. doi: 10.1016/S0042-6989(00)00021-3. [DOI] [PubMed] [Google Scholar]
- Stringer C, Pachitariu M, Steinmetz N, Reddy CB, Carandini M, Harris KD. Spontaneous behaviors drive multidimensional, brainwide activity. Science. 2019;364:eaav7893. doi: 10.1126/science.aav7893. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Surridge AK, Osorio D, Mundy NI. Evolution and selection of trichromatic vision in primates. Trends in Ecology & Evolution. 2003;18:198–205. doi: 10.1016/S0169-5347(03)00012-0. [DOI] [Google Scholar]
- Tan Z, Sun W, Chen TW, Kim D, Ji N. Neuronal representation of ultraviolet visual stimuli in mouse primary visual cortex. Scientific Reports. 2015;5:12597. doi: 10.1038/srep12597. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Umino Y, Solessio E, Barlow RB. Speed, spatial, and temporal tuning of rod and cone vision in mouse. Journal of Neuroscience. 2008;28:189–198. doi: 10.1523/JNEUROSCI.3551-07.2008. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Wang K, Hinz J, Haikala V, Reiff DF, Arrenberg AB. Selective processing of all rotational and translational optic flow directions in the zebrafish pretectum and tectum. BMC Biology. 2019;17:29. doi: 10.1186/s12915-019-0648-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Wehner R. Polarization vision-a uniform sensory capacity? The Journal of Experimental Biology. 2001;204:2589–2596. doi: 10.5167/uzh-693. [DOI] [PubMed] [Google Scholar]
- Wei T, Schubert T, Paquet-Durand F, Tanimoto N, Chang L, Koeppen K, Ott T, Griesbeck O, Seeliger MW, Euler T, Wissinger B. Light-driven calcium signals in mouse cone photoreceptors. Journal of Neuroscience. 2012;32:6981–6994. doi: 10.1523/JNEUROSCI.6432-11.2012. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Werblin FS. Transmission along and between rods in the tiger salamander retina. The Journal of Physiology. 1978;280:449–470. doi: 10.1113/jphysiol.1978.sp012394. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Wikler KC, Rakic P. Distribution of photoreceptor subtypes in the retina of diurnal and nocturnal primates. The Journal of Neuroscience. 1990;10:3390–3401. doi: 10.1523/JNEUROSCI.10-10-03390.1990. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Yang W, Srivastava PK, Han S, Jing L, Tu CC, Chen SL. Optomechanical Time-Gated fluorescence imaging using Long-Lived silicon quantum dot nanoparticles. Analytical Chemistry. 2019;91:5499–5503. doi: 10.1021/acs.analchem.9b00517. [DOI] [PubMed] [Google Scholar]
- Yokoyama S. Molecular evolution of vertebrate visual pigments. Progress in Retinal and Eye Research. 2000;19:385–419. doi: 10.1016/S1350-9462(00)00002-1. [DOI] [PubMed] [Google Scholar]
- Yoshimatsu T, Schröder C BP, Baden T. Cellular and molecular mechanisms of photoreceptor tuning for prey capture in larval zebrafish. bioRxiv. 2019 doi: 10.1101/744615. [DOI]
- Zimmermann MJY, Nevala NE, Yoshimatsu T, Osorio D, Nilsson DE, Berens P, Baden T. Zebrafish differentially process color across visual space to match natural scenes. Current Biology. 2018;28:2018–2032. doi: 10.1016/j.cub.2018.04.075. [DOI] [PubMed] [Google Scholar]