Giter Club home page Giter Club logo

Comments (3)

coretl avatar coretl commented on July 17, 2024

I sketched out the old and new (with a single event, multiple events would make more use of the slice object)

Stream model suggestions excalidraw(2)

Here's a suggestion as to how it could be implemented.

  • StreamDatum
    • no datum_kwargs
    • no stream_name, instead a pointer to the Descriptor it provides some or all of the data_keys
    • data_keys list to show which data_keys of the Descriptor it provides
    • seq_nums is a slice object showing the Event numbers it corresponds to
    • indexes is a slice object passed to the StreamResource handler so it can hand back data and timestamps
  • Event and EventPage
    • external data_keys will be missing from data and timestamps

The Event side of the diagram then becomes optional, if all detectors write external files then there will be no Event documents

@tcaswell @danielballan shall we begin writing this?

from event-model.

danielballan avatar danielballan commented on July 17, 2024

Yes, I think so. I'd like to do this in tandem with @DiamondJoseph's NeXus writers and a sketch of our proposed new storage model for Databroker to validate that everything works out the way we expect.

from event-model.

coretl avatar coretl commented on July 17, 2024

Can delete stream_names from StreamResource too

from event-model.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.