Imaging Schema
Schema: imaging
This schema is the calcium-processing backbone. It stages processing tasks, tracks curation state, and stores segmentation/trace/activity outputs.
What this schema answers
Which processing configuration was run for a scan?
Which curation/version should be analyzed?
Where are masks, fluorescence traces, and activity readouts?
Core tables used most often
imaging.ProcessingTask,imaging.Processingimaging.ProcessingParamSetimaging.Curationimaging.MotionCorrectionimaging.Segmentation,imaging.Segmentation.Maskimaging.Fluorescence,imaging.Fluorescence.Traceimaging.Activity,imaging.Activity.Trace
Query anchors
scan_idparamset_idxcuration_id
proc_key = {'session_id': 'sessXXXXXXXX', 'scan_id': 'scanXXXXXXXX', 'paramset_idx': 66}
(imaging.ProcessingTask & proc_key)
(imaging.Curation & proc_key)
Diagram
Notes for users
Always carry
paramset_idxandcuration_idwhen reporting results.Do not mix curated and uncurated outputs in one analysis block.
Check task status before assuming a missing table indicates data absence.
Element lineage
ADAMACS imaging follows Element Calcium Imaging processing conventions. Reference: https://docs.datajoint.com/elements/element-calcium-imaging/latest/
External references
DataJoint query operators: https://docs.datajoint.com/core/datajoint-python/latest/query/operators/
Element Calcium Imaging: https://docs.datajoint.com/elements/element-calcium-imaging/latest/
Suite2p docs: https://suite2p.readthedocs.io/en/latest/
Suite2p parameters: https://suite2p.readthedocs.io/en/latest/parameters/
Suite2p outputs: https://suite2p.readthedocs.io/en/latest/outputs/