Session Schema
Schema: session
This schema binds subject identity to a concrete acquisition session. Most analysis key sets should start here before descending into scan- or recording-level tables.
What this schema answers
Which sessions exist for a subject/project/date window?
Where is the session directory and who is linked to it?
Which session notes or same-site grouping tags apply?
Core tables used most often
session.Sessionsession.SessionDirectorysession.SessionUsersession.SessionNotesession.SessionSite,session.SessionSameSitesession.SessionRspace(optional external linkage)
Query anchors
session_idsubjectsession_datetime
session_key = {'session_id': 'sessXXXXXXXX'}
(session.Session & session_key)
(scan.Scan & session_key)
Diagram
Notes for users
Use session restrictions to narrow the search space before multimodal joins.
Keep session-level notes as context, not as key logic.
Carry
session_idthrough all downstream tables for reproducibility.
Element lineage
ADAMACS session design follows the Element Session model. Reference: https://docs.datajoint.com/elements/element-session/latest/