To install the data evaluation MATLAB scripts, download the files and add them to the Matlab path. The imaging session can be loaded by importing the .mat file. It contains 6 ImagingDataSet classes that correspond to the 3 animals anesthetized by ketamine/xylazine and 3 other animals anesthetized by fentanyl. The Data property of the ImagingDataSet class contains the individual imaging sessions as ImagingData classes. Some useful properties and commands to view and analyze the data: Show the raw dF/F0 trace of a specific cell in an imaging session: plot(ketamine01.Data().DeltaFperF0(:, )); Wavelet analysis of a specific cell in an imaging session: ketamine01.Data().plotWaveletCell(, ); Calculate wavelet for all cells in an imaging session: ketamine01.Data().calculateWavelet(); The result will be available in the ketamine01.Data().Wavelet structure. 'CfsByTime' contains the wavelet summed along the frequency domain, 'CfsByFrequency' contains the wavelet summed along the time domain. Calculate phase-lock value (PLV) for all cell pairs in an imaging session: ketamine01.Data().calculatePhaselock(); The result will be available in the ketamine01.Data().PhaseLock variable. Logical arrays to filter the results by celly type: ketamine01.Data().Glia (whether the cell is an astrocyte or not) ketamine01.Data().Neuron (whether the cell is a neuron or not) ketamine01.Data().ValidCell (whether the cell is an astrocyte/neuron or not)