Photometry Analysis Code
Output Details
Description
This set of functions extracts GCaMP Fiber Photometry data obtained with a TDT system, performs isosbestic and exponential correction, and computes the number and amplitude of transients over time. The code was originally used for the following experiment: MFB-lesioned 6-OHDA D1-cre or A2A-cre mice were injected with a cre-dependent GCaMP6f in dorsolateral striatum and implanted with 400um optical fibers. Mice were placed in an open field arena and recorded for 30 minutes before levodopa injection, and 120 minutes after levodopa injection. The experiment includes video from 2 cameras and a TTL pulse from an Arduino indicating the time when levodopa was injected.