UCLA 2P Miniscope

The UCLA Miniscope Project is an open-source initiative to design open-source miniature microscopes for neuroscience. Here, we present a multiphoton miniature microscope developed at UCLA which is able to record from fine structures like dendrites, or several hundred microns into tissue.
In this Wiki project and associated Github repo, we openly share all of the design files for this microscope with the community, these include:
- Mechanical Design Files (in .STEP format)
- Optical Design Files (ZEMAX .ZARs)
- Electronic PCB Designs (GERBER)
- Control Software (Matlab and Waveforms)
As well as additional information to support users in setting up these devices, such as:
- Suite2P analysis .ops to aid in analysis
- A pre-trained DeepLabCut Network
- ScanImage Machine Data Files and Configuration files
For additional information, please take a look at our Nature Communications paper Publication/madruga_2025_opensource.
We also provide the following resources regarding data avialability and processing: For a folder full of Demo resources, please visit the Demo UCLA Box Repository.
System Requirements:: To analyze the data we generate, four softwares are used, FIJI/Imagej (v.1.54f), Suite2P (v.0.9.2), DeepLabCut (v.2.3.8), MATLAB (v.2022b). Any relatively modern windows or apple computer should be capable of running all of these software packages without technical limitations, although a CUDA-compatible GPU is very useful for DeepLabCut. For this work, we tested the analysis pipeline with x64 Windows 10 Pro, v.22H2. The analysis can be completed using standard hardware, we used a Windows Book 2 from 2018 with an Intel Core i7-8650U CPU and 16BG of RAM.