Skip to content
BCDA-APSPublic

About

Model of a Bluesky Data Acquisition Instrument in console, notebook, & queueserver.

Resources

Stars

5 stars

Watchers

6 watching

Forks

Latest commit

 

History

306 Commits

Folders and files

Repository files navigation

APSBITS: Template Package for Bluesky Instruments

PyPI Coverage
PyPi Coverage Status

BITS: Bluesky Instrument Template Structure

Template of a Bluesky Data Acquisition Instrument in console, notebook, & queueserver.

Production use of BITS

Please create a bits instrument using our template repository: https://github.com/BCDA-APS/DEMO-BITS

Installing the BITS Package

export INSTALL_ENVIRONMENT_NAME=apsbits_env
conda create -y -n "${INSTALL_ENVIRONMENT_NAME}" python=3.11 pyepics
conda activate "${INSTALL_ENVIRONMENT_NAME}"
pip install apsbits

Or with uv:

uv pip install apsbits      # into an active environment
# ...or, from a clone for development (uses the committed uv.lock):
uv sync --extra dev

For development please reference our documentation

Testing the apsbits base installation

On an ipython console

from apsbits.demo_instrument.startup import *
listobjects()
RE(sim_print_plan())
RE(sim_count_plan())
RE(sim_rel_scan_plan())

About

Model of a Bluesky Data Acquisition Instrument in console, notebook, & queueserver.

Resources

Stars

5 stars

Watchers

6 watching

Forks

Releases

Used by

Contributors

Languages