https://github.com/lauraluebbert/thorimage-sync_2p-analysis
Notebook to analyze ThorImage + ThorSync 2-photon data with light stimulation.
https://github.com/lauraluebbert/thorimage-sync_2p-analysis
2-photon calcium-imaging image-processing thorimage thorsync
Last synced: 2 months ago
JSON representation
Notebook to analyze ThorImage + ThorSync 2-photon data with light stimulation.
- Host: GitHub
- URL: https://github.com/lauraluebbert/thorimage-sync_2p-analysis
- Owner: lauraluebbert
- License: mit
- Created: 2022-03-01T01:51:55.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-13T21:42:00.000Z (about 3 years ago)
- Last Synced: 2025-02-01T14:30:19.107Z (4 months ago)
- Topics: 2-photon, calcium-imaging, image-processing, thorimage, thorsync
- Language: Jupyter Notebook
- Homepage:
- Size: 58.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Citation: CITATION.cff
Awesome Lists containing this project
README
# ThorImage/ThorSync_2P-analysis
[](https://zenodo.org/badge/latestdoi/275931002)
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](https://github.com/lauraluebbert/confocal_z-stack_analysis/blob/master/README.md). 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:

The notebook also returns raw mean and background normalized mean traces.### 4. dF/F0 heatmap (sum over all frames):
### 5. dF/F0 heatmap movie over time showing stimulation:
https://user-images.githubusercontent.com/56094636/156097148-af4bfca4-12b5-4a44-889d-0c9e73c04b46.mp4### 6. ROIs drawn for area of interest and background:

