This tutorial shows Databoker 2.0.0, which is in prelease. It is currently being evaluated and tested at some NSLS-II beamlines.
To run this, first we need to point Juptyer at a separate Python environment. Execute the line below, and the click "Python 3" in the top-right corner of this notebook, and choose "Python 3 (preview)" from the options that appear.
!/srv/conda/envs/preview/bin/python -m ipykernel install --user --name preview --display-name "Python 3 (preview)"
from tiled.client import from_uri
c = from_uri("http://data-samples.blueskyproject.io")
run = c['bmm'] run
run['primary']['data'][['dcm_energy', 'I0', 'It']]