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")
c
c['bmm']
run = c['bmm'][22521]
run
run['primary']
run['primary']['data']
run['primary']['data'][['dcm_energy', 'I0', 'It']]
run['primary']['data'].uri