Skip to content

docs: add modular experiments across platforms diagram - #250

Open
bruno-f-cruz wants to merge 3 commits into
mainfrom
feat-add-modular-experiments-across-platforms-diagram
Open

bruno-f-cruz wants to merge 3 commits into
mainfrom
feat-add-modular-experiments-across-platforms-diagram

Conversation

@bruno-f-cruz

@bruno-f-cruz bruno-f-cruz commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

Adds docs/source/diagrams/mid_level/modular-experiments-across-platforms.drawio, describing how independent acquisition platforms are composed into a single experiment and carried through the AIND data pipeline.

  • Acquisition (Rig): CLABE launches/orchestrates the behavior and physiology platforms; each writes immutable raw data + per-platform aind-data-schema metadata. Task settings come from LIMS / Dataverse.
  • Data Transfer: one aind-data-transfer-service upload job per platform (e.g. compression job type).
  • Asset Assembly: a raw asset builder bundles all modality-specific raw data into one immutable raw asset and merges per-platform metadata (plus LIMS experiment/session metadata) into merged metadata per experiment.
  • Cloud (AWS / S3): platform-scoped pipelines read their own modality from the raw asset and produce derived NWB per platform; an Experiment Aggregation Pipeline merges them into one NWB per experiment.
  • Inset: inside a single platform pipeline — primary/processed data QC appending to qc.json, and data packaging into an NWB container.

📚 Documentation preview 📚: https://scicomp-docs--250.org.readthedocs.build/en/250/

bruno-f-cruz and others added 2 commits November 4, 2026 12:50
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@alexpiet

alexpiet commented Nov 4, 2026

Copy link
Copy Markdown
  • What page does this diagram get added to? I wanted to see it in context and can't find it in the documentation preview
  • Should the "Experiment Aggregation Pipeline" be called "Acquisition Aggregation Pipeline"? I guess the general point is that I'm not sure a single acquisition should be called an "experiment", I'm not sure that term is consistently used like that. I think "session" or "acquisition" would be more appropriate.
  • You have a dashed line separating upload jobs per platform. I think it would be helpful to extend that line to the left to separate platforms at each stage, and annotate it with text that states "platforms do not interact" (you can pick better wording)
  • You use the term "platform" in many places where I would use "modality." I understood the point you raised about fiber photometry and lifetime fluorescence in the same session. But, I think we have been using "platform" to refer to an operational structure. So the language is confusing.

@bruno-f-cruz

bruno-f-cruz commented Nov 4, 2026 •

Copy link
Copy Markdown
Member Author
  • What page does this diagram get added to? I wanted to see it in context and can't find it in the documentation preview
  • Should be being added to the mid level diagrams. But I am not maintaining this repository. Prob a question for SciComp
  • Should the "Experiment Aggregation Pipeline" be called "Acquisition Aggregation Pipeline"? I guess the general point is that I'm not sure a single acquisition should be called an "experiment", I'm not sure that term is consistently used like that. I think "session" or "acquisition" would be more appropriate.

I and Micah have been using Experiment to refer to the combination of different platforms. (https://github.com/AllenNeuralDynamics/Aind.Experiment.VrForaging and https://github.com/AllenNeuralDynamics/Aind.Experiment.DynamicForaging). I wouldn't use session/acquisition as it clashes with the session/acquisition aind-data-schema instance. But feel free to modify the diagram f you think this is more clear

  • You have a dashed line separating upload jobs per platform. I think it would be helpful to extend that line to the left to separate platforms at each stage, and annotate it with text that states "platforms do not interact" (you can pick better wording)

Fair, will change later.

  • You use the term "platform" in many places where I would use "modality." I understood the point you raised about fiber photometry and lifetime fluorescence in the same session. But, I think we have been using "platform" to refer to an operational structure. So the language is confusing.

Is there a 3rd term one could use? I am really afraid of using modality cause that has implications for vocabulary and infrastructure that I don't think we should build around (e.g: data transfer). I previously defined platform as (in the modular architecture document):

• Platform - A specific tool or technology used by the institute is defined as a standalone "module" or "component" of the system with a narrowly delineated functionality that has a single or very few public interfaces.

Is there another word that better describes this concept?

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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