Jupyter notebook¶
There are several alternatives to running a notebook. An example notebook is provided: demo.ipynb [1]
Jupyter¶
Instructions for running a notebook with Jupyter are on the web [2].
Once in the web browser, open a new notebook. Pick the kernel with your bluesky installation, including the instrument package you installed.
When ready to load the bluesky data acquisition for use, type this in a notebook code cell:
from instrument.startup import *
Jupyter Lab¶
Instructions for starting a JupyterLab server are on the web [3].
https://jupyterlab.readthedocs.io/en/stable/getting_started/starting.html
Once in the web browser, open a new notebook. Pick the kernel with your bluesky installation, including the instrument package you installed.
When ready to load the bluesky data acquisition for use, type this in a notebook code cell:
from instrument.startup import *
VSCode editor¶
The VSCode editor [4] has extension packages to run notebooks in the editor. See the web for advice on which extensions. [5]
Microsoft Visual Studio Code Editor
Once the VSCode editor is running (with the jupyter notebook extensions), create
a new notebook file (name it something such as notebook.ipynb
). The
.ipynb
file extension is what informs VSCode to treat it as a notebook.
Pick the kernel with your bluesky installation, including the instrument
package you installed.
When ready to load the bluesky data acquisition for use, type this in a notebook code cell:
from instrument.startup import *