Skip to content

Comments

WIDEFIELD: extract and analyse images across periods#91

Open
iezqrom wants to merge 21 commits intowidefield-devfrom
images-periods
Open

WIDEFIELD: extract and analyse images across periods#91
iezqrom wants to merge 21 commits intowidefield-devfrom
images-periods

Conversation

@iezqrom
Copy link
Collaborator

@iezqrom iezqrom commented Dec 17, 2025

No description provided.

@iezqrom iezqrom requested a review from zeniazen5 December 17, 2025 13:44
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@zeniazen5

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

colors: list[str] | None = None,
) -> None:
"""
Process DFF movies over time windows and save average images.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it have to be a dff movie? not necessarily right?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Things to do :

  1. Add a _get_analyzed_folder function in the Widefield analysis for now we only have the processed one
  2. The added function works for 1 trial but not for average
  3. 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

@iezqrom iezqrom changed the title init Widefield: extract and analyse images across periods Jan 28, 2026
@iezqrom iezqrom changed the title Widefield: extract and analyse images across periods WIDEFIELD: extract and analyse images across periods Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants