Skip to content

Notebook to analyze ThorImage + ThorSync 2-photon data with light stimulation.

License

Notifications You must be signed in to change notification settings

lauraluebbert/ThorImage-Sync_2P-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ThorImage/ThorSync_2P-analysis

DOI
Notebook to synchronize and analyze ThorImage + ThorSync 2-photon calcium imaging data with light stimulation.

The notebook requires the user to draw ROIs as described here. The ROIs are drawn on an automatically computed sum projection. The stimulation information is automatically obtained from the ThorSync file.

Output returned by notebook:

1. Dataframe containing information per frame in the format:

Channel + Sample Filename Frame Mean pixel value in ROI Mean pixel value in bkg area Norm_mean_pixel_value_in_ROI Time passed (s) dF/F0 LED (ON/OFF)
ChanA (001_001_001) ChanA_001_001_001 1.0 542.6812468577175 541.7430997876858 0.9381470700317323. 0.0 0.95 0
. . . . . . . . . . . . . . . . . . . . . . . . . . .

2. Pickled dictionary containing raw and analyzed data, including ROI coordinates

3. dF/F0 over time showing stimulation:

R72A10-Chrimson_R52G12-GCaMP5_i003_df-f0 The notebook also returns raw mean and background normalized mean traces.

4. dF/F0 heatmap (sum over all frames):

2020-11-13_R70H05GCaMP_R72A10Chrim+ATR_thor6_df-f0_heatmap

5. dF/F0 heatmap movie over time showing stimulation:

example_video_short.mp4

6. ROIs drawn for area of interest and background:

2020-11-13_R70H05GCaMP_R72A10Chrim+ATR_thor6_rois_0 2020-11-13_R70H05GCaMP_R72A10Chrim+ATR_thor6_bkg_rois_0

About

Notebook to analyze ThorImage + ThorSync 2-photon data with light stimulation.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published