-
Notifications
You must be signed in to change notification settings - Fork 27
Removing Horizontal Noise from Recordings
Version 4 Miniscopes with version numbers under v4.40 (these include v4.34 and v4.30) may show some small horizontal row noise in their neural imaging recordings. If this is the case, we have outlined 2 solutions below for removing this noise. One is a post-processing spatial filter approach using a Python Jupyter Notebook and the other is a hardware modification. We generally recommend using the offline post-processing approach as it seems to work very well and doesn't require any tricking modification to your hardware.
This noise shows up due to less than adequate noise rejection of one of the on-board voltage regulaters on the V4 Rigid-Flex PCB. The electrowetting lens driver ends up injecting noise at around 5KHz back into the 3.3V voltage regulator which then directly affects the reference voltage pin of the CMOS image sensor. This causes some pixel rows in the recorded data to be slightly dimmer or brighter than they should be.
Miniscopes with version v4.40 and later will include the denoising hardware modification natively on their Rigid-Flex PCB so no additional denoising solution should be needed.
We have written a simple Miniscope Denoising Jupyter Notebook to walk users through the process of denoising their already recorded Miniscope videos. This notebook explains what it is doing and why it is doing it as well as provides visualizations of each step in the process.
This notebook also can change which codec and compression is used to re-save Miniscope data.
While the denoising Jupyter Notebook does a good job removing the main sources of imaging noise, we also wanted to develop a solution that removes the noise at its source. The VDD_PIX Hot Fix PCB is a small flex printed circuit that can retrofit any previous V4 Miniscope to directly remove the source of row noise. This modification adds a separate voltage regulator for the CMOS image sensor's voltage reference, isolating it from the noise of the electrowetting lens driver.
VDD_PIX Hot Fix PC Specs:
- 2 layer flex PC
- PC thickness isn't too important. Use something standard.
- We have used OSHPark as well as PCBWay to get these made and were happy with both.
Below shows (left) a render of the Hot Fix Flex PC, (middle) which component needs to be removed on the V4 Rigid-Flex PCB, and (right) how to mount and connect the printed circuit to the V4 Miniscope PCB. Adding this modification does require a bit of delicate soldering but as long as you are careful it shouldn't put the V4 Rigid-Flex PCB at risk.