Skip to content
kuanawanda edited this page May 13, 2022 · 13 revisions

Welcome to the 2p_preprocess_ppc wiki!

Master preprocessing script is new_LD187_preprocessing.m

Description of new_LD187_preprocessing.m

Prereqs

% Needs constrained_foopsi https://github.com/epnev/constrained-foopsi % Needs HarveyLab helper functions (abfload) https://github.com/HarveyLab/helperFunctions % Needs matlab signal processing toolbox

Inputs

master path for raw data is /n/groups/htem/temcagt/datasets/ppc/2P_data original files from Laura are at
~/NeuroShare/HarveyLab/Tier2/Former lab members/Laura Driscoll/code_workspace/LD187/Virmen ~/NeuroShare/HarveyLab/Tier2/Former lab members/Laura Driscoll/DATA/imaging/PPC/manuscript_mice/LD187

  1. lineUpSession synchronizes behavioral data (from virmen) to synchronization signal (pclamp) and saves output to master/code_workspace/LD187/virmen/
  2. Load suite2p data from master/scanimage
  3. Perform deconvolution and export to master/code_workspace/deconvData
  4. master/code_workspace has been saved to ext HD, so I've generally loaded it here (on my laptop) for subsequent steps
  5. Calculate SNR metrics
  6. parseVirmenTrials calculates trialAlignedData (Ca data, RL select idx (from Harvey 2012), pairwise correlations, etc)
  7. Everything below that is not used

Description of selectivity_measures_220221.m

Prereqs

https://github.com/nmtimme/Neuroscience-Information-Theory-Toolbox

Inputs

Code workspace master path /n/groups/htem/temcagt/datasets/ppc/2P_data/ or /Volumes/Aaron's 5TB HD/ppc/2P_data/

  1. Calculates mutual information based
Clone this wiki locally