Office hours recap: Nov 13, 2026

From Miniscope
Jump to: navigation, search

Office hours recap: Nov 13, 2026

Session page: UCLA Miniscope Drop-In Office Hours 2026-11-13

Topics

  • New acquisition software
  • Miniscope vs. behavior camera timestamp jitter
  • Analysis pipelines and tools in development
  • Lens hats warping during acrylic curing
  • Touchscreen operant chamber setup, with or without a commutator
  • V4.5 (Open Ephys) build differences
  • Checking the light path before gluing, and debris on the sensor
  • Fibers or burrs inside pre-assembled scopes
  • Scope has to touch the lens or chart to focus
  • GRIN lens length for insula
  • 0.5 mm vs. 1 mm lens for mPFC
  • Virus choice for CA1
  • Bone chisel or punch vs. aspiration

Software and analysis

  • Acquisition software: we recommend updating to the new release. It won't change your experiments, the interface is nicer, and it detects devices automatically, so no more guessing the device ID.
  • Timestamps: a 10–50 ms offset between Miniscope and behavior camera timestamps is normal TTL jitter. Align behavior frames to the neural timestamps; the workshop pipeline does this.
  • Pipelines: the workshop processing and analysis repo has an updated Minian notebook for calcium extraction, a place cell pipeline, timestamp alignment, and a simpler install. Deconvolution is moving to a separate tool.
  • In development: browser-based analysis tools (deconvolution now, calcium extraction early on). Reply here if you'd like to beta test.
  • Choosing a virus or GCaMP version (e.g. 6f vs. 7f/8f): filter the experiment registry by brain region and cell type to see what others used, and post specific questions in Forum:Experiments and methods.

Lens hats warping

  • A 3D-printed lens hat (PLA and PETG tried) warped while the acrylic cured, probably from the heat. The lens couldn't be reused.
  • Most likely a print material problem. Our lab prints lens hats in resin and hasn't seen this. If you've solved it with another material, please reply.

Touchscreen operant chamber

  • With limited movement you probably don't need a commutator. They help with spinning and tangling but add complexity.
  • Put the DAQ outside the box for USB access and run the coax out through the top. Letting the cable hang from a hole in the top of the outer arena works well.

Building and cleaning scopes

  • V4.5 (Open Ephys): the black PCB (instead of tan) is an Open Ephys PCB change with no functional difference.
  • Before gluing: hold the PCB in place without glue, plug it in, and check that nothing blocks the light path.
  • Spot in the image: usually debris on the sensor. Clean with an air canister first, then a Kimwipe (a little alcohol is fine). Don't be afraid to clean the sensor.
  • Fibers or burrs between the lenses (pre-assembled scopes): before assembly, run a screw through every hole in the body and blow it out. We recommend the unassembled kit: better quality, and you'll know how to fix it yourself.

Imaging and surgery

  • Scope has to touch the lens or resolution chart before anything is in focus: likely a lens in the wrong orientation inside the scope. Write down your lens size, implant coordinates and target coordinates, since working distance depends on all three. See also FAQ/Objective versus relay GRIN lenses.
  • GRIN lens length for insula (about −2 mm DV): a 9 mm lens is longer than needed at that depth; shorter lenses are used even for deeper targets. Longer lenses are more fragile, harder to reuse, and leave more exposed lens to cover and protect. Long thin lenses also snap easily and need more dental cement.
  • 0.5 mm vs. 1 mm lens in mPFC: smaller lenses mainly limit damage, and mPFC isn't very deep. 0.5 mm lenses are mostly used for dual-lens imaging; 1 mm lenses have been used in mPFC. A field of view that looks like a tiny bubble at baseplating points to a different problem. Post a screenshot here.
  • Bone chisel or punch vs. aspiration: we've only seen a punch used to mark drill sites, and a blunt needle to make a track for deep regions. If you've used a chisel, please share.

Next session

Samara Hecht (talk) 11:00, 13 November 2026 (PST)Reply