WIDEFIELD: extract and analyse images across periods#91
WIDEFIELD: extract and analyse images across periods#91iezqrom wants to merge 21 commits intowidefield-devfrom
Conversation
There was a problem hiding this comment.
good evidence you've tested it, but the 'tests'' will go in the tests folder that's at the root level, just remove this file for now
to improve the test, i'd have this in another project and do pip install poulet-py etc of this branch then you can test it's working directly when doing from poulet_py import etc
once it works the import is the same so even if you then install widefield-dev or other branches, the way you import doesn't change
There was a problem hiding this comment.
so i tried to remove it and create it on another project folder. Then tried to pip install poulet_py dev specifically for images-periods branch and run the script but it didn't upload with the latest updates on the script as it did not find the latest function ,,, just a comment for us to know
poulet_py/widefield/analysis.py
Outdated
| colors: list[str] | None = None, | ||
| ) -> None: | ||
| """ | ||
| Process DFF movies over time windows and save average images. |
There was a problem hiding this comment.
does it have to be a dff movie? not necessarily right?
There was a problem hiding this comment.
not really just would make sense to do it on the dff but can be applied to whatever npy
| Saves into: | ||
| data/processed/<dataset>/<session>/<protocol>/<trial>/avg_windows/ | ||
|
|
||
| average = True → Averaged output mode (no trial_end) |
There was a problem hiding this comment.
Things to do :
- Add a _get_analyzed_folder function in the Widefield analysis for now we only have the processed one
- The added function works for 1 trial but not for average
- That is why the WidefieldAnalysis does not have the analyzed folder integrated? Since the averages i save them under analyzed/dataset_id/session_id/protocol_name
No description provided.