Analysis Overview
adamacs_analysis is the student-facing analysis workspace split from ingest operations.
Start here
Analysis philosophy
Keep ingest/pipeline mutation in
adamacs_ingest.Keep analysis logic, figures, and project interpretation in
adamacs_analysis.Fork
adamacs_analysisfor project-specific work and open PRs for reusable improvements.
What lives in analysis repository
starter notebooks for querying and plotting
personal/project notebook workspaces
analysis helper modules
schema-class scaffold generator (
adamacs-analysis-generate)
Typical analysis flow
Start from proven keys (
subject,session_id,scan_id).Join incrementally across schema domains.
Validate counts and key uniqueness at each join.
Restrict by
paramset_idxandcuration_idexplicitly.Extract DataFrames/arrays only when key logic is correct.
Persist derived analysis artifacts with clear provenance.
Recommended first notebook sequence
01_querying_guide.ipynb02_querying_template.ipynbmodality-specific notebook (for example gaze or behavioral summary)
Analysis and worker interaction
Analysis assumes ingest and worker-managed populations are complete. If expected tables are empty, check worker status and upstream task completion before debugging analysis code.
Reproducibility expectations
For every analysis figure/table, preserve:
key restriction definitions
table versions (
paramset_idx,curation_id, model_name)commit hash of analysis code
environment metadata (
pip freezeor lockfile)