Skip to content

Revisit need for tiled/databroker dependency #184

@thopkins32

Description

@thopkins32

Current workflow:

  1. Get next point to try
  2. Run Bluesky plan step
  3. Read back data from tiled/databroker
  4. Pass to digestion function
  5. Store outcomes
  6. Update models

Key question: Should we remove tiled/databroker dependency and leave it up to digestion functions?

Bad aspects of current approach:

  • Assumes specific usage of tiled and databroker
    • primary stream, only
    • loads everything into memory
  • Pre-loading all of the data is wasteful, we should let users decide how to fetch their data efficiently
  • Can't always tell what keys to actually fetch (e.g. image keys such as "det_image" when the readable name is "det"), leading to fetching everything as a backstop

We may be able to solve these problems in Blop, but it adds complexity.

For instance, we would need to add more arguments to specify what data to actually load and how to load it...but the user probably knows best. I also don't want to create a thin wrapper around databroker or tiled when they already have client APIs...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions