Skip to main content

Data model used by the bluesky ecosystem.

Project description

logo

CI Coverage PyPI License

Data model used by the bluesky ecosystem.

Event Model

A primary design goal of bluesky is to enable better research by recording rich metadata alongside measured data for use in later analysis. Documents are how we do this.

This repository contains the formal schemas for bluesky's streaming data model and some Python tooling for composing, validating, and transforming documents in the model.

Where is my data?

For the full details and schema please see the data_model section. This is a very quick guide to where you should look for / put different kinds of information

  • Information about your sample that you know before the measurement → Start Document
  • What experiment you intended to do → Start Document
  • Who you are / where you are → Start Document
  • References to external databases → Start Document
  • The Data™ → Event Document
  • Detector calibrations, dark frames, flat fields , or masks → Event Document (probably in its own stream)
  • The shape / data type / units of The Data™ → Event Descriptor Document in the data_keys entry
  • Anything you read from the controls system that is not device configuration → Event Document
  • Device configuration data → Event Descriptor Document in the configuration entry

See https://bluesky.github.io/event-model for more detailed documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

event_model-1.22.1.tar.gz (178.2 kB view details)

Uploaded Source

Built Distribution

event_model-1.22.1-py3-none-any.whl (66.1 kB view details)

Uploaded Python 3

File details

Details for the file event_model-1.22.1.tar.gz.

File metadata

  • Download URL: event_model-1.22.1.tar.gz
  • Upload date:
  • Size: 178.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for event_model-1.22.1.tar.gz
Algorithm Hash digest
SHA256 9861c24aafb5f06a9295d43bcf9b7e071eacbf92c214b409de221f1b6470e059
MD5 b93732aabb1c90d15fc6a6eaf0331a36
BLAKE2b-256 36b6960b80b61aeb370bc6446c76d30544ae655c325b8724a31bea15940565e7

See more details on using hashes here.

File details

Details for the file event_model-1.22.1-py3-none-any.whl.

File metadata

  • Download URL: event_model-1.22.1-py3-none-any.whl
  • Upload date:
  • Size: 66.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for event_model-1.22.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f9dd1a41ab4f09bda0de182c9d30c5c464357c6b5a699d4cd0b52e4e88cf8cff
MD5 a781ff850cbb2a3c1c588c616b1da7fe
BLAKE2b-256 35395c0896af4adf69223d9a7a9f4942c8e85623462e903a597907633467b685

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page