Abstract
Miniature fluorescence microscopes are becoming an increasingly established tool to investigate neural circuits in freely moving animals. In this work we present a lightweight one-photon microscope capable of imaging at different focal depths. The focal plane can be changed dynamically by modulating the pulse width of the control signal to a variable focus liquid lens, which is synchronized to the image sensor to enable changing focal plane between frames. The system was tested by imaging GCaMP7f expressing neurons in the mouse medial prefrontal cortex (mPFC) in vivo during open field test. Results showed that with the proposed design it is possible to image neurons across an axial scan of ~ 60 μm, resulting in a ~ 40% increase of total neurons imaged compared to single plane imaging.
Subject terms: Neural circuits, Microscopy
Introduction
Over the past decade, the development of miniature fluorescence microscopes (commonly referred to as miniscopes), paired with genetically encoded calcium indicators and voltage sensitive dyes has grown to be one of the most powerful tools available in neuroscience1–5, enabling researchers to investigate neural circuits in vivo and correlate the activity of large neuronal populations with complex behaviors which could not be replicated in head fixed animals, in timescales spanning from days to months6,7.
These versatile tools offer a unique insight into key neural processes involved in complex behaviors or animal models of disease, fueling the development of new generation of miniscopes to expand the horizon of neural circuits investigation. Active areas of research include simultaneous imaging and optogenetic stimulation of targeted neurons8–10, to untangle causality of neuronal population activity in specific behaviors; wireless miniscopes11,12, to reduce the influence of a tether on the animal’s behavior, and to enable neural activity recording in more complex behaviors (such as multiple subject social interaction); other versions of miniscopes include large scale imaging13–15, and 2-photon for imaging at multiple depths16–19.
A key element for expanding the miniscope’s potential is the ability to change focal plane rapidly and reliably during experiments. This would allow not only a more stable focusing system, improving the quality of individual neurons’ tracking over time, but also imaging on different focal planes, enabling multi-color imaging. There are several methods which can be leveraged for achieving this goal in multi-photon imaging (piezoelectric actuators, voice coil-motors actuators, tunable acoustic gradient index lenses20), however these techniques are not easily scalable to miniaturized, single photon microscope for studying neural circuits in freely behaving rodents. Electrically Tunable Lenses (ETLs, or liquid lenses) can be more effectively integrated in such applications20–23. Bagramyan et al. developed a tunable liquid crystal lens24,25 which was integrated in a one-photon miniscope for sub-cellular resolution imaging. A benchtop two-photon implementation of a remote focusing system based on liquid lens was described in26, but limited to head-restrained behaviors. An expansion to the UCLA miniscope also includes an ETL15, however the total weight is 13.9 g, which makes it too heavy to be used in freely moving mice.
In this study we present an open-source miniature miniscope capable of remote and dynamic focal plane change leveraging a commercially available variable focus liquid lens, which can be easily integrated in custom imaging systems.
Methods
All experimental procedures and animal care were reviewed and approved by the Institutional Animal Care and Use Committee (IACUC), the Intramural Research Program, National Institute on Drug Abuse, National Institutes of Health. All animal studies were carried out in accordance with guidelines of the approved IACUC protocol and in accordance with ARRIVE guidelines.
Viral injection
The viral injection procedure was similar to the one described previously27, and briefly outlined here. Six C57BL/6 J male mice (age of 3–4 months, body weight ~ 25 g) were injected with AAV-pgk-Cre (Addgene, #24593-AAVrg) into Nucleus Accumbens and pGP-AAV-syn-FLEX-jGCaMP7f-WPRE (Addgene, #104492-AAV1) into prelimbic cortex (PrL). Briefly, mice were anaesthetized with 2% isoflurane in oxygen at a flow rate of 0.4 L/min and mounted on a stereotactic frame (Model 962, David Kopf Instruments), while body temperature was maintained at 37 °C using a temperature control system (TCAT-2DF, Physitemp). Sterile ocular lubricant ointment (Dechra Veterinary Products) was applied to mouse corneas to prevent drying. A hole was drilled through the right side of the skull above the injection site (A/P: + 1.9 mm; M/L: − 0.3 mm) using a 0.5-mm diameter round burr on a high-speed rotary micro drill (19007-05, Fine Science Tools). A total of 500 nl of virus (a titer of 6.75e12 GC/mL) was injected using the stereotactic coordinates (A/P: + 1.9 mm, M/L: − 0.3 mm, D/V: − 1.7 mm, 0° angle) at a rate of 25 nl/min with a micro pump and Micro4 controller (World Precision Instruments). After injection, the injection needle was kept in the parenchyma for 5 min before being slowly withdrawn. The hole on the skull was then sealed with bone wax, and the skin was sutured. After surgery, Neosporin ointment was applied to the closed skin incision line. Mice were subcutaneously injected with buprenorphine (0.05 mg/kg) and returned to their home cage to recover from anesthesia in a 37 °C isothermal chamber (Lyon Technologies, Inc). Mice were maintained on ibuprofen (30 mg/mL in water) ad libitum for at least 3 days post-surgery.
Gradient index (GRIN) lens implantation
The GRIN lens implantation procedure was similar to the one described previously27, and briefly outlined here. One week after viral injection, a 1-mm diameter gradient index (GRIN) lens (GRINTECH GmBH) was implanted in the mouse brain in the mPFC. Briefly, mice were anesthetized with ketamine/xylazine (ketamine:100 mg/kg, xylazine:15 mg/kg), and a 1 mm-diameter craniotomy was generated in the right hemisphere above the coordinates (A/P: + 1.9 mm, M/L: − 0.7 mm). Freshly prepared artificial cerebrospinal fluid (aCSF) was continuous applied to the exposed tissue throughout the surgery to prevent brain tissue dehydration. The brain tissue above the PrL, along a direction of a 10° laterally shifted angle into a depth of 1.8 mm was precisely removed using vacuum suction through a 30-gauge blunted needle attached to a custom-constructed three-axis motorized stereotactic device, modified from a commercial stereotactic frame (Model 962, David Kopf Instruments). After brain tissue above mPFC had been removed and the surgical site was clear of blood, a GRIN lens was slowly lowered into the mPFC and secured to the skull using dental cement (DuraLay). About one month after the GRIN lens implantation, a custom baseplate was mounted onto the mouse head with dental cement. The miniscope was then secured to the baseplate using 3 screws.
Miniscope design
The miniscope consists of the main body, designed in Solidworks and 3D-printed in black resin (Protolabs, Maple Plain, MN), light source (high power 470 nm LED XPEBBL-L1-0000-00302, Cree LED), optics (see Table 1) and a CMOS sensor (MT9V022, Aptina/Onsemi) mounted on a custom PCB which connects to the data acquisition system as described in28. A schematic of the miniscope mechanical design is shown in Fig. 1a. We used a variable focus liquid lens (A-16F0-P12, Corning Varioptic), which allows for a fast change of focal length, controlled and synchronized to the miniscope image sensor through the custom FPGA control board.
Table 1.
Bill of materials.
| Item # | Manufacturer | Manufacturer P/N | Description | Qty |
|---|---|---|---|---|
| #1 | Protolabs | Custom miniscope body | Black resin 25 μm tolerance | 1 |
| #2 | Mouser | 941-XPEBBLL10000302 | Cree high power blue LED | 1 |
| #3 | Edmund Optics | 83605 | LightPath 355160 | 4 mm Dia., 0.55 NA, BBAR (350–700 nm), Molded Aspheric Lens | 1 |
| #4 | Chroma | ET470/40x | Excitation filter 450–490 nm, 3 × 3 × 1 mm | 1 |
| #5 | Chroma | ET525/50 m | Emission filter 3 × 3 × 1 mm | 1 |
| #6 | Chroma | T495lpxr | Dichroic mirror 5 × 5 × 1 mm | 1 |
| #7 | Edmund Optics | 63704 | 4 mm Dia. × 12 mm FL, VIS 0° Coated, Achromatic Lens | 2 |
| #8 | Edmund Optics | 84126 | 2 mm Dia. × 6 mm FL, VIS 0° Coated, Achromatic Lens | 2 |
| #9 | GRINTech | NEM-100-25-10-860-S-0.5p | 1 mm Dia GRIN lens | 1 |
| #10 | Edmund Optics | A-16F0-P12 | A-16F0 with FPC-A-12 variable focus Liquid Lens | 1 |
| #11 | Sierra Circuits | Custom image sensor PCB | PCB hosting miniscope image sensor/LED control | 1 |
Figure 1.
Miniscope characterization. (a) Schematic of the miniscope design. Numbers in blue correspond to line items in Table 1. (b) Top: image from reflected light on a 3″ × 3″ 1951 USAF target. Inset: zoomed-in detail of group 7, element 4 (181 lp/mm). Bottom: intensity values for the pixels highlighted in the inset row (left) and column (right), spanning two line pairs over 11.05 μm, and resulting in a 3× magnification factor with 5.52 μm resolution.
Benchmarking
We tested the optical performance of the miniscope by imaging a 1951 USAF target (Fig. 1b), measuring a vertical and horizontal resolution of 5.52 μm for a ~ 3× magnification factor.
The axial scanning performance was tested by positioning the miniscope vertically (Fig. 2a) over a 45° depth of field target (Edmund Optics DOF 5–15, Fig. 2b), and recording the horizontal lines from the 15 lp/mm section (Fig. 2c) at different plane depths, ranging from 0 to 100% PWM duty cycle of the liquid lens control signal in 26 steps (Fig. 2d,e). For each plane depth, we calculated the average of a 30-frame sequence. The change in control signal produced a change in focal plane depth which was estimated through the curve fitting parameters of the frames row-average: by averaging along y for each duty cycle step, the resulting curves were approximated as a Fourier series truncated at the first harmonic (tuned to the frequency of the line pairs, ω = 66.67), multiplied by an exponential envelope curve, whose center parameter b indicated the estimated depth of the focal plane:
Figure 2.
Evaluation of focal plane change. (a) The assembled miniscope was placed vertically on the depth of field target to evaluate its axial scanning performance. (b) A photo of the a 45° depth of field target. (c) Detail of the depth of filed target, highlighting a detail of the imaged field of view from the 15 lp/mm section (inset) (d) Images captured at 3 different focal plane depths on a 45° depth-of-field target with 15 lp/mm. (e) Reconstructed field of view (FOV), merging the 40 rows around the estimated focal distance for each depth. (f) Left: row average of images captured at different focal plane depths, spanning from 0 to 100% PWM cycle of the liquid lens control signal. Green dots show the estimated focal plane depth for each frame, and the red line is their linear fit (slope of 5.98 μm per percent change in PWM duty cycle). Dashed white lines represent the 3 frames in (d). Right: pixel row-average for the image captured at 66% PWM cycle control signal and shown in magenta dashed line in left panel. The center of the fitted exponential envelope curve (green dashed line) is used to estimate the focal plane depth.
The focal plane change as a function of the liquid lens PWM duty cycle could be approximated linearly (R2 = 0.99287) with a slope of 5.98 μm per percent change in duty cycle (Fig. 2f).
To assess whether the image could stabilize within the time between two frames, we recorded 200 frames at 10fps, alternating focal plane depth at each frame, for 5 sessions (Fig. 3a).
Figure 3.
Focal plane fast switch. (a) Focal plane depth (estimated using the linear fit from Fig. 2c) for 5 sessions recorded alternating between two focal planes every frame, with 100 frames recorded at each depth. (b) Average pixel intensity RMS for the image difference between the average of 100 frames recorded at each of the alternating plane depths (red and blue for plane 1 and plane 2, respectively), and frames recorded statically across all PWM cycle control values. Dashed lines mark the PWM cycle used on each of the two planes. Local minima of the RMS difference curve denote higher similarity between the two images.
We then calculated the RMS difference between the 100 frame-average for each plane and the static frames captured across the 26 PWM cycle steps (Fig. 3b): for all sessions, across all focal plane differences, the local minima of the RMS curve (and the highest similarity between frames) coincided with the focal plane at which the alternating planes were recorded, indicating a close match between the static images captured at each depth and the corresponding alternating frames.
Results
To demonstrate the ability of both imaging at single neuron level and detecting different neurons across different focal plane depths, we performed in vivo imaging on mice (n = 6) expressing GCaMP7f in the mPFC, as described previously28. The setup used to carry out the recordings is depicted in Fig. 4a. Imaging was performed during 15 open field trials (sample images from top and side view camera is shown in Supplementary Fig. 1a), recording 2000 frames per trials at 10 fps, and alternating focal plane at each frame following the schedule shown in Supplementary Fig. 1b. The maximum focal depth change was limited by light scattering in the deeper brain tissue, and it was experimentally measured to be ~ 60 μm across all imaged mice.
Figure 4.
In vivo imaging of mPFC neurons expressing GCaMP7. (a) Scheme of the setup used for the open field recordings. (b) Peak-to-noise ratio for Plane 1 (left) and Plane 2 (right) in a representative trial with focal length difference of 58.3 μm. (c) Left: footprints of the neurons identified in the same trial shown in (b), highlighting neurons detected only on plane 1 (blue), only on plane 2 (red) and on both planes (light green for neurons detected in Plane 1 with a matching neuron on Plane 2, and dark green for neurons detected in Plane 2 with a matching neuron on Plane 1). Right: associated neural traces. (d) Histogram of the correlation coefficient for single trial calcium traces of neurons registered as same in plane 1 and plane 2. (e) Number of neurons detected per trial in trials with no change in focal plane and trials with maximum distance between the two focal planes (two-tailed paired t-test, p = 0.0053, n = 6 mice). (f) Ratio of total neurons detected per trial (using the information from both planes) over the average neurons detected per plane in the same trial. Data is shown separately for same focal plane at offset = 0 μm (trials 2, 6 and 14, two-tailed paired t-test, p = 0.0069, n = 6 mice) and same focal plane at offset = 58.3 μm (trials 4, 8 and 15, two-tailed paired t-test, p = 0.0055, n = 6 mice).
For each trial, the two interleaved data streams of 1000 frames per plane were separately processed by performing a Fourier-based motion correction first29, and then applying the CNMFe based calcium trace extraction method described previously30. The resulting spatial components were then registered across the two imaging planes and trials with the method described previously31, which estimates the likelihood of two neurons from different focal planes to be the same based on a probabilistic model built on the centroid distance and spatial footprint correlation. Representative cell maps and peak-to-noise ratios (PNR) for the two focal planes at the maximum distance is shown in Fig. 4b and Supplementary Fig. 2a. Based on the cell registration results, all neurons detected in each trial were assigned to either plane 1, plane 2, or both planes (Fig. 4c, Supplementary Movie 1). Examples of neurons detected only in one plane are shown in Supplementary Fig. 2b.
Neurons identified as common ones in both focal planes showed high correlation in their activity measured in the two focal planes (Fig. 4d), confirming the same identity in both spatial and temporal components. On the other hand, calcium traces from closest non-same neurons were largely uncorrelated (Fig. 4d), with some exceptions represented by cells whose footprint differed due to focal, but likely were the same neurons. To reduce the number of false negatives in the neuron registration across focal planes, one could use a less conservative approach by including not only spatial footprint criteria, but also a temporal component matching.
Overall, we could identify a larger number of neurons in trials with maximum distance between the two focal planes compared with trials with no focal plane change (two tailed paired t test, p = 0.0053, Fig. 4e), for an average increase in number of detected neurons per trial of 41.67% SD in n = 6 mice.
We then measured the ratio of total number of neurons detected on each trial (merging the information from both focal planes) and the average number of neurons detected on each focal plane (Fig. 4f), which also resulted in a larger number neurons when the two focal planes were at maximal distance compared to when the same focal length was used for both planes (two tailed paired t test, n = 6 mice, p = 0.0069 for same plane with offset = 0 μm (trials 2, 6 and 14) and p = 0.0055 for same focal plane at offset = 58.3 μm (trials 4, 8 and 15).
Discussion
We presented the design of a miniature fluorescence microscope which integrates a variable focus liquid lens, enabling a dynamic change of focal plane between frames during in vivo calcium imaging recordings. Despite the limitation in the maximum possible focal length posed by light scattering in single photon imaging, the integration of a variable focus lens offers several advantages that can push the boundaries of in vivo neural circuit investigation. Beyond increasing the number of imaged neurons, it simplifies the focusing mechanism of miniature microscopes, which often consists of rotating parts, making it difficult to reliably image the same plane and possibly introducing image registration issues across sessions.
Compared with other variable focus imaging systems, the proposed miniscope is more lightweight15, and it is tethered with a flexible cable which, combined with a motorized swivel, allows for less constraint on the rodent’s head than fiber coupled systems23.
One aspect to consider regarding the accuracy of the neuron identification in the two focal planes, is that current neuron registration algorithms mainly target session-to-session registration6,31, and therefore rely on spatial information only to infer the likelihood of two neurons being the same; in the multi-plane context, there is also a temporal component which can be used, as the extracted calcium traces from the same neuron in the two planes are expected to be very similar. A hybrid registration method which accounts for both spatial and temporal neural components would improve the accuracy of neuron identification in multi-plane imaging.
We believe ETLs will be integrated increasingly more in miniature single- and multi-photon microscopes due to the advantages it offers over other tunable focus technologies20. A potential development of the variable focus design is the application to dual-color imaging, where focal plane change between the two layers of neurons imaged with two different colors can be corrected for on alternating frames.
Supplementary Information
Acknowledgements
Research is supported by the Intramural Research Program, National Institute on Drug Abuse, National Institutes of Health. YL is supported by National Institutes of Health grants 5P20GM121310, R61NS115161, and UG3NS115608. GB, YZ, D-TL supported by U.S. Department of Health & Human Services | NIH | National Institute on Drug Abuse (NIDA) (Grant No. ZIA DA000603). We would like to thank the Genetically-Encoded Neuronal Indicator and Effector (GENIE) Project and the Janelia Research Campus of the Howard Hughes Medical Institute (HHMI) for generously allowing the use of GCaMP7 in our research. This work utilized the computational resources of the NIH HPC Biowulf cluster (http://hpc.nih.gov).
Author contributions
D.T.L., G.B., Y.Z., R.J., and Y.L. conceptualized the project. G.B. and Y.Z. constructed the experimental setup, and G.B. and B.L. built the custom imaging system. R.J. and Y.Z. performed the surgeries and all the animal imaging experiments. G.B. performed the data analysis and wrote the manuscript. All authors contributed critical intellectual inputs throughout the project. D.T.L. supervised the entire project.
Funding
Open Access funding provided by the National Institutes of Health (NIH).
Data availability
The datasets generated during and/or analyzed during the current study are available from the corresponding author on reasonable request.
Code availability
The code and design files are available on github at https://github.com/giovannibarbera/miniscope_v2.0.
Competing interests
The authors declare no competing interests.
Footnotes
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Contributor Information
Giovanni Barbera, Email: giovanni.barbera@nih.gov.
Da-Ting Lin, Email: da-ting.lin@nih.gov.
Supplementary Information
The online version contains supplementary material available at 10.1038/s41598-022-21022-9.
References
- 1.Ghosh KK, et al. Miniaturized integration of a fluorescence microscope. Nat. Methods. 2011;8:871–882. doi: 10.1038/nmeth.1694. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2.Yang W, Yuste R. In vivo imaging of neural activity. Nat. Methods. 2017;14:349–359. doi: 10.1038/nmeth.4230. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Stamatakis AM, et al. Miniature microscopes for manipulating and recording in vivo brain activity. Microscopy. 2021;70:399–414. doi: 10.1093/jmicro/dfab028. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Aharoni D, Hoogland TM. Circuit investigations with open-source miniaturized microscopes: Past, present and future. Front. Cell. Neurosci. 2019;13:141–141. doi: 10.3389/fncel.2019.00141. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Malvaut S, Constantinescu V-S, Dehez H, Doric S, Saghatelyan A. Deciphering brain function by miniaturized fluorescence microscopy in freely behaving animals. Front. Neurosci. 2020;14:819. doi: 10.3389/fnins.2020.00819. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Ziv Y, et al. Long-term dynamics of CA1 hippocampal place codes. Nat. Neurosci. 2013;16:264–268. doi: 10.1038/nn.3329. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Barretto RP, et al. Time-lapse imaging of disease progression in deep brain areas using fluorescence microendoscopy. Nat. Med. 2011;17:1–15. doi: 10.1038/nm.2292. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Zhang J, et al. All-optical imaging and patterned stimulation with a one-photon endoscope. bioRxiv. 2021 doi: 10.1101/2021.12.19.473349. [DOI] [Google Scholar]
- 9.Stamatakis AM, et al. Simultaneous optogenetics and cellular resolution calcium imaging during active behavior using a miniaturized microscope. Front. Neurosci. 2018;12:496. doi: 10.3389/fnins.2018.00496. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Vickstrom CR, Snarrenberg ST, Friedman V, Liu Q-S. Application of optogenetics and in vivo imaging approaches for elucidating the neurobiology of addiction. Mol. Psychiatry. 2021;27:640–651. doi: 10.1038/s41380-021-01181-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Iii WAL, Perkins LN, Leman DP, Gardner TJ. An open source, wireless capable miniature microscope system. J. Neural Eng. 2017;14:1–9. doi: 10.1088/1741-2552/aa6806. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Barbera G, Liang B, Zhang L, Li Y, Lin D-T. A wireless miniScope for deep brain imaging in freely moving mice. J. Neurosci. Methods. 2019;323:56–60. doi: 10.1016/j.jneumeth.2019.05.008. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Leman DP, et al. Large-scale cellular-resolution imaging of neural activity in freely behaving mice. bioRxiv. 2021 doi: 10.1101/2021.01.15.426462. [DOI] [Google Scholar]
- 14.Jercog P, Rogerson T, Schnitzer MJ. Large-scale fluorescence calcium-imaging methods for studies of long-term memory in behaving mammals. Cold Spring Harb. Perspect. Biol. 2016 doi: 10.1101/cshperspect.a021824. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Guo C, et al. Miniscope-LFOV: A large field of view, single cell resolution, miniature microscope for wired and wire-free imaging of neural dynamics in freely behaving animals. bioRxiv. 2021 doi: 10.1101/2021.11.21.469394. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Zong W, et al. Miniature two-photon microscopy for enlarged field-of-view, multi-plane and long-term brain imaging. Nat. Methods. 2021;18:46–49. doi: 10.1038/s41592-020-01024-z. [DOI] [PubMed] [Google Scholar]
- 17.Piyawattanametha W, et al. In vivo brain imaging using a portable 2.9g two-photon microscope based on a microelectromechanical systems scanning mirror. Opt. Lett. 2009;34:2309–2311. doi: 10.1364/OL.34.002309. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Zong W, et al. Fast high-resolution miniature two-photon microscopy for brain imaging in freely behaving mice. Nat. Methods. 2017;14:713–719. doi: 10.1038/nmeth.4305. [DOI] [PubMed] [Google Scholar]
- 19.Grewe BF, Voigt FF, Van’t Hoff M, Helmchen F. Fast two-layer two-photon imaging of neuronal cell populations using an electrically tunable lens. Biomed. Opt. Express. 2011;2:2035–2046. doi: 10.1364/BOE.2.002035. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Ito KN, Isobe K, Osakada F. Fast z-focus controlling and multiplexing strategies for multiplane two-photon imaging of neural dynamics. Neurosci. Res. 2022;179:15–23. doi: 10.1016/j.neures.2022.03.007. [DOI] [PubMed] [Google Scholar]
- 21.Zou Y, Zhang W, Chau FS, Zhou G. Miniature adjustable-focus endoscope with a solid electrically tunable lens. Opt. Express. 2015;23:20582–20592. doi: 10.1364/OE.23.020582. [DOI] [PubMed] [Google Scholar]
- 22.Supekar OD, et al. Two-photon laser scanning microscopy with electrowetting-based prism scanning. Biomed. Opt. Express. 2017;8:5412–5426. doi: 10.1364/BOE.8.005412. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Ozbay BN, et al. Three dimensional two-photon brain imaging in freely moving mice using a miniature fiber coupled microscope with active axial-scanning. Sci. Rep. 2018;8:8108. doi: 10.1038/s41598-018-26326-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Bagramyan, A., Galstian, T. & Saghatelyan, A. Motion free micro-endoscopic system for imaging in freely behaving animals at variable focal depths using liquid crystal lenses. In Three-Dimensional and Multidimensional Microscopy: Image Acquisition and Processing XXVI Vol. 10883. 10.1117/12.2508929 (2016).
- 25.Bagramyan A, et al. Focus-tunable microscope for imaging small neuronal processes in freely moving animals. Photon. Res. 2021;9:1300–1309. doi: 10.1364/PRJ.418154. [DOI] [Google Scholar]
- 26.Tehrani KF, et al. Five-dimensional two-photon volumetric microscopy of in vivo dynamic activities using liquid lens remote focusing. Biomed. Opt. Express. 2019;10:3591–3604. doi: 10.1364/BOE.10.003591. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Zhang Y, et al. Detailed mapping of behavior reveals the formation of prelimbic neural ensembles across operant learning. Neuron. 2021;110:674–685.e6. doi: 10.1016/j.neuron.2021.11.022. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Zhang L, et al. Miniscope GRIN lens system for calcium imaging of neuronal activity from deep brain structures in behaving animals. Curr. Protoc. Neurosci. 2018;86:e56. doi: 10.1002/cpns.56. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Barbera G, et al. Spatially compact neural clusters in the dorsal striatum encode locomotion relevant information. Neuron. 2016;92:202–213. doi: 10.1016/j.neuron.2016.08.037. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Giovannucci A, et al. CaImAn: An open source tool for scalable calcium imaging data analysis. eLife. 2019;8:e38173. doi: 10.7554/eLife.38173. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Sheintuch L, et al. Tracking the same neurons across multiple days in Ca2+ imaging data. Cell Rep. 2017;21:1102–1115. doi: 10.1016/j.celrep.2017.10.013. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
The datasets generated during and/or analyzed during the current study are available from the corresponding author on reasonable request.
The code and design files are available on github at https://github.com/giovannibarbera/miniscope_v2.0.




