Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Dashboard 📊✨ #27

Closed
wants to merge 29 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
b62a6e9
Fix ascii conversion error
lauraporta Apr 20, 2023
d6975fb
Fixes and docstring correction
lauraporta Apr 20, 2023
f012752
Improve title and subtitle
lauraporta Apr 20, 2023
4efc14f
Split callback in multiple files
lauraporta Apr 20, 2023
7066377
Fix linting
lauraporta Apr 20, 2023
9107cf1
Fix linting 2
lauraporta Apr 20, 2023
3598aef
Add facet plot with pooled directions
lauraporta Apr 21, 2023
f4cc58a
Add switch between all direction and single directions for facet plot
lauraporta Apr 25, 2023
815f3ed
Change legend
lauraporta Apr 25, 2023
b119a2a
Use cached direction
lauraporta Apr 26, 2023
b2cdb2d
Partially solving polar grid misalignment
lauraporta Apr 26, 2023
e8110e4
Solved polar plot issue
lauraporta Apr 26, 2023
8514e39
Improved facet plot
lauraporta Apr 26, 2023
def5f03
Add checkbox
lauraporta Apr 26, 2023
9699455
Add loading animation
lauraporta Apr 26, 2023
6cc7efe
Merge commit '6fbd69cff12603aecf201d0df60a899d95f8e673' into pool-dir…
lauraporta Apr 26, 2023
13b05c7
Simplify plotting methods
lauraporta Apr 26, 2023
65ef748
Clear up and fix tox error
lauraporta Apr 26, 2023
f4bae51
Discard chatgpt workflow
lauraporta Apr 26, 2023
04da1be
Add code to pool directions
lauraporta May 5, 2023
b4d63f6
Update view of pool directions
lauraporta May 5, 2023
9e950ed
Add notes
lauraporta May 5, 2023
172f9e0
Merge branch 'pool-directions-facet-plot' into dashboard-plots
lauraporta May 9, 2023
5e10f6b
Merge commit '01c9a079f2f7ecbf67b95a7e93e821059ca466fd' into dashboar…
lauraporta May 9, 2023
a43602f
Fix broken tests
lauraporta May 9, 2023
7af8440
Recalculate outputs
lauraporta May 9, 2023
28c49b0
Update manifest and pyproject
lauraporta May 9, 2023
2da508f
Clean up docs
lauraporta May 9, 2023
ff08555
Fix typing
lauraporta May 9, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,4 @@ venv/
*.hdf5
*.pickle
*.obsidian
*.csv
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ include *.py

recursive-include docs *.md
recursive-include docs *.png
recursive-include docs *.svg

exclude *.yml
exclude *.cruft.json
Expand Down
5 changes: 5 additions & 0 deletions demo_dash.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from rsp_vision.dashboard.app import get_app

if __name__ == "__main__":
app = get_app()
app.run_server(debug=True)
15 changes: 15 additions & 0 deletions docs/Analysis choices and permutations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Responsive
- Static chosen as baseline, Grey could also be choosen
- Length and position of the windows to consider in the baseline and response period
- Mean or median of the window?
- Mean for KW and Sign tests
- Median for Magnitude


## Gaussian fits
- Median subtracted response is the MEDIAN OVER THE MEAN subtracted signals
- When pooling direction unsure if to take mean or median



![[Responsiveness analysis diagram.svg]]
18 changes: 18 additions & 0 deletions docs/Responsiveness analysis diagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/MATLAB heatmap response matrix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/MATLAB sf tf traces.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/Python heatmap response matrix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/Python sf tf traces.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions docs/reproduce_plots.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Some example plots that are generated

## SF/TF Traces
### Matlab version
<img width="800" src="https://github.com/neuroinformatics-unit/load-suite2p/blob/dashboard-plots/docs/images/MATLAB%20sf%20tf%20traces.png">

### Python version
<img width="800" src="https://github.com/neuroinformatics-unit/load-suite2p/blob/dashboard-plots/docs/images/Python%20sf%20tf%20traces.png">

## Heatmap response matrix and Gaussian fits
ROI 8, direction 90, data: `AK_1111739_hL_RSPd_monitor_front`
### Matlab version
<img width="800" src="https://github.com/neuroinformatics-unit/load-suite2p/blob/dashboard-plots/docs/images/MATLAB%20heatmap%20response%20matrix.png">

### Python version
<img width="800" src="https://github.com/neuroinformatics-unit/load-suite2p/blob/dashboard-plots/docs/images/Python%20heatmap%20response%20matrix.png">
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ dev = [
"pre-commit",
"ruff",
"setuptools_scm",
"tqdm", # to generate mock data
]

[build-system]
Expand Down
Loading