Skip to content

Commit 8378488

Browse files
authored
Merge pull request #143 from mrakitin/doc-update-intro
DOC: add project overview and links to relevant projects in a sidebar
2 parents 4244521 + eea7908 commit 8378488

File tree

8 files changed

+82
-1
lines changed

8 files changed

+82
-1
lines changed
184 KB
Loading
594 KB
Loading
518 KB
Loading

docs/source/examples.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
.. _examples:
2+
3+
========
14
Examples
25
========
36

docs/source/index.rst

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,25 @@
33
You can adapt this file completely to your liking, but it should at least
44
contain the root `toctree` directive.
55
6-
sirepo-bluesky Documentation
6+
============================
7+
Sirepo-Bluesky Documentation
78
============================
89

910
.. toctree::
1011
:maxdepth: 2
1112

13+
overview
1214
installation
1315
examples
1416
simulations
1517
release-history
18+
19+
.. toctree::
20+
:hidden:
21+
:caption: Links
22+
23+
Sirepo-Bluesky on GitHub <https://github.com/NSLS-II/sirepo-bluesky>
24+
Bluesky Project <https://blueskyproject.io>
25+
Sirepo on GitHub <https://github.com/radiasoft/sirepo>
26+
Public Sirepo Server <https://www.sirepo.com>
27+
Beamline Optimization Tools <https://github.com/NSLS-II/bloptools>

docs/source/installation.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _installation:
2+
13
=========================
24
Installation instructions
35
=========================

docs/source/overview.rst

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
.. _overview:
2+
3+
========
4+
Overview
5+
========
6+
7+
The Sirepo-Bluesky project interfaces two frameworks --- **Sirepo** and
8+
**Bluesky**.
9+
10+
`Sirepo`_ is a framework providing convenient access to various physics
11+
simulation codes (such as `SRW`_, `Shadow3`_, etc.) via an intuitive
12+
browser-based interface.
13+
14+
`Bluesky`_ is a data collection and experiment orchestration framework
15+
routinely used at NSLS-II and other synchrotrons for data collection & data
16+
access, and integrates well with the scientific Python ecosystem. Core Bluesky
17+
components include the `bluesky library`_ for experiment orchestration, the
18+
`ophyd library`_ for device abstractions, and the `databroker library`_ for
19+
convenient access to the experiment data. Relationships of the libraries are
20+
shown at the `Bluesky Project`_ website.
21+
22+
Combining the two systems together enables researchers to perform virtual
23+
experiments using Sirepo as a "digital twin" of a real beamline or an
24+
instrument.
25+
26+
The scheme below shows how the libraries from the Bluesky stack communicate
27+
with other external systems (hardware and software):
28+
29+
.. image:: _static/bluesky-ophyd-sirepo.png
30+
31+
The following scheme explains how an optical element in the Sirepo JSON model
32+
turns into an Ophyd ``Device``:
33+
34+
.. image:: _static/sirepo-json-ophyd.png
35+
36+
The Watchpoint optical element acts as a virtual detector and the scheme below
37+
demonstrates the code for the corresponding Ophyd class with the ``trigger``
38+
method and the relevant actions in the Sirepo frontent UI:
39+
40+
.. image:: _static/sirepo-ophyd-watchpoint.png
41+
42+
Please check the :ref:`installation` and the :ref:`examples` sections for more
43+
details on how to get started using Sirepo-Bluesky.
44+
45+
.. _Sirepo: https://www.sirepo.com
46+
.. _Bluesky: https://blueskyproject.io
47+
.. _SRW: https://github.com/ochubar/SRW
48+
.. _Shadow3: https://github.com/oasys-kit/shadow3
49+
.. _bluesky library: https://blueskyproject.io/bluesky
50+
.. _ophyd library: https://blueskyproject.io/ophyd
51+
.. _databroker library: https://blueskyproject.io/databroker
52+
.. _Bluesky Project: https://blueskyproject.io

docs/source/release-history.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22
Release History
33
===============
44

5+
v0.7.2 (2023-08-19)
6+
-------------------
7+
8+
This is a maintenance release with some documentation updates.
9+
10+
Documentation
11+
.............
12+
13+
- An Overview section was added to the docs.
14+
- External links were added to the sidebar.
15+
16+
517
v0.7.1 (2023-08-18)
618
-------------------
719

0 commit comments

Comments
 (0)