Core Components#

The core module provides fundamental components for building a Bluesky data acquisition system.

best_effort_init

BestEffortCallback: simple real-time visualizations, provides bec.

catalog_init

Databroker catalog, provides cat

run_engine_init

Setup the Bluesky RunEngine, provides RE and sd.

These components are used to:

  1. Initialize the Run Engine

  2. Set up data catalogs

  3. Configure best-effort callbacks

  4. Establish baseline configurations

Example Usage#

Here’s how to initialize the Run Engine, set up data catalogs, and configure best-effort callbacks:

from apsbits.core import run_engine_init, catalog_init, best_effort_init

# Initialize the Run Engine
RE = run_engine_init()

# Set up data catalogs
cat = catalog_init()

# Configure best-effort callbacks
bec = best_effort_init(RE)

API Reference#

Utility support to start bluesky sessions.

Also contains setup code that MUST run before other code in this directory.