Common Diamond specific Bluesky plans and functions
Project description
This module stores Bluesky functionality that is common to multiple techniques or groups within the Diamond Light Source organisation, such that it can be imported by instances of BlueAPI, or built upon within more focussed plan repositories to reduce duplication.
The ‘plans’ package contains functions that describe a full operation which performs an experiment and captures data, and may wish to be available to instances of BlueAPI to allow common experiment types to be maintained centrally. The ‘stubs’ package contains modular partial instructions that may act as a building block for constructing plans, for which the implementation is common: e.g. querying APIs, standard handling of metadata The ‘tasks’ package contains instructions that are not sufficient to run a full experiment but are useful utilities for providing functionality to instances of BlueAPI: e.g. moving a motor.
PyPI |
pip install dls-bluesky-core |
Source code |
|
Documentation |
|
Releases |
https://github.com/DiamondLightSource/dls-bluesky-core/releases |
The module built from this repository is intended to either act directly as a source of plans for an instance of BlueAPI by being a planFunctions source in the config of an instance:
worker:
env:
sources:
- kind: planFunctions
module: dls_bluesky_core.plans
- kind: planFunctions
module: dls_bluesky_core.tasks
Or else contributing functionality that may be common with other plan repositories within Diamond.
import dls_bluesky_core.stubs as cps
def technique_specific_plan(*args, **kwargs):
yield from cps.common_diamond_setup()
See https://DiamondLightSource.github.io/dls-bluesky-core for more detailed documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dls-bluesky-core-0.0.3.tar.gz
.
File metadata
- Download URL: dls-bluesky-core-0.0.3.tar.gz
- Upload date:
- Size: 56.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed4b554754590fd2aa1edb5e995c8fe80ad57df459e27863f1905bb000cd37d3 |
|
MD5 | bb3b4eff683a17ded0840a8f123129d6 |
|
BLAKE2b-256 | ddf21b3f9312f084de37dbc10c71995e7381c0354a5311f80b6fae754d486d61 |
File details
Details for the file dls_bluesky_core-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: dls_bluesky_core-0.0.3-py3-none-any.whl
- Upload date:
- Size: 20.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26ee388d4ba776fb150104264a272d8f8f30183d752f50dcd2b304f7c977f81c |
|
MD5 | 7c3fc816d6cfec1ccdf6336eafbc7d14 |
|
BLAKE2b-256 | bb93b56211bb9dab6c3c324f0701a1b2317eec77882e07265635c595b0557c98 |