diff --git a/src/images/pipeline.png b/src/images/pipeline.png deleted file mode 100644 index 2f2ff7a1..00000000 Binary files a/src/images/pipeline.png and /dev/null differ diff --git a/src/images/pipeline.svg b/src/images/pipeline.svg new file mode 100644 index 00000000..94517a25 --- /dev/null +++ b/src/images/pipeline.svg @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + + + + + + Subject + + + + Session + + + + Scan + + + + AverageFrame + + + + SegmentationParams + + + + Segmentation + + + + Activity + + + + + + + + + + + + + + @schema + class Segmentation(dj.Computed): + definition = """ + -> AverageFrame + -> SegmentationParams + --- + num_cells: int32 + cell_masks : <blob@> + """ + def make(self, key): + frame = (AverageFrame & key).fetch1('frame') + params = (SegmentationParams & key).fetch1() + masks, n = segment(frame, **params) + self.insert1(dict(key, num_cells=n, cell_masks=masks)) + + + + + database link + + + table name + + + dependency + + + object-store attribute + + + computation + + + diff --git a/src/index.md b/src/index.md index e2b63f4d..5ca241ca 100644 --- a/src/index.md +++ b/src/index.md @@ -9,7 +9,7 @@ **DataJoint** implements the [Relational Workflow Model](explanation/relational-workflow-model.md)—a data model where your database schema defines an executable data pipeline. Tables represent workflow steps, foreign keys encode dependencies, and the system handles job management, parallel execution, and provenance tracking. [Object storage](explanation/data-pipelines.md#object-augmented-schemas) integration enables seamless handling of large scientific data. -![pipeline](images/pipeline.png){: style="height:300px;"} +![pipeline](images/pipeline.svg){: style="width:100%;max-width:1100px;"}