Utilities#
The utilities module provides helper functions and tools for working with Bluesky data acquisition systems.
APS utility helper functions |
|
Configuration management for the instrument. |
|
EPICS & ophyd related setup |
|
Generic utility helper functions |
|
Configure logging for this session. |
|
RunEngine Metadata |
|
Storage-backed Dictionary |
These utilities help with:
Loading and managing configuration files
Setting up logging
Managing device metadata
Interfacing with APS-specific functionality
Creating and managing device configurations
Example Usage#
Here’s how to use some of the utility functions:
from apsbits.utils import config_loaders, logging_setup, metadata
# Load configuration from YAML
config = config_loaders.load_yaml_config('config.yml')
# Set up logging
logger = logging_setup.setup_logger('my_logger')
# Store metadata
md = metadata.get_metadata()
API Reference#
Local utilties and miscellaneous code.