AllenNeuralDynamics / AllenNeuralDynamics/aind-dynamic-foraging-multisession-analysis

Planning Notes

Đang mở
#2 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

@XX-Yin @hanhou @rachelstephlee starting the planning process here

Goal:
- This repository is for analysis that uses more than one session of data. In general, `data-utils` and `basic-analysis` should be single-session repositories
- This repository should NOT contain code to run the infrastructure on Code Ocean, that should live elsewhere: https://github.com/orgs/AllenNeuralDynamics/projects/113

Proposed structure:
- Operate on tidy dataframes with a column that identifies the session. In my initial PR (https://github.com/AllenNeuralDynamics/aind-dynamic-foraging-multisession-analysis/pull/1) I used `ses_idx` because this is computed in `data-utils`. Open to something more verbose like `session_index`.
- If we have multiple dataframes (like FIP, and df_trials), then timestamps should be consistent between the two dataframes on a session by session basis. Timestamps between sessions are meaningless.
- Do not use an "analysis object" like the NWB object to pass to functions
- We should strive to limit the number of data objects used in an analysis. That is, add columns to dataframes, rather than also passing in lists or dictionaries with metadata.
- Separate functions that aggregate data from sessions and functions that analyze/plot aggregate data.
- When possible use single-session functions from `data-utils` and `basic-analysis`

Open questions:
- anything we should do to facilitate use of the first-order analysis architecture?
- I already referenced a use case of triggering jobs by subject ID: https://github.com/AllenNeuralDynamics/aind-physio-arch/issues/668#issuecomment-2805899841

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.