Skip to content

Commit

Permalink
Improve figure captions
Browse files Browse the repository at this point in the history
  • Loading branch information
bwohlberg committed Jul 31, 2024
1 parent 0286083 commit 00d67af
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
13 changes: 5 additions & 8 deletions scico/linop/xray/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,11 @@
:align: center
:include-source: False
:show-source-link: False
:caption: Comparison of 2D X-ray projector geometries. The red arrows
are directed towards the detector, which is oriented with pixel
indices ordered in the same direction as clockwise rotation (e.g.
in the "scico" geometry, the :math:`\theta=0` projection
corresponds to row sums ordered from the top to the bottom of the
figure, while the :math:`\theta=\pi` projection
corresponds to row sums ordered from the bottom to the top of the
figure).
:caption: Comparison of 2D X-ray projector geometries. The radial
arrow are directed towards the locations of the corresponding
detectors (indicated in orange in the "light" display mode), with
the direction of increasing pixel indices indicated by the arrows
of the same color.
|
Expand Down
7 changes: 4 additions & 3 deletions scico/linop/xray/astra.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,10 @@ class XRayTransform3D(LinearOperator): # pragma: no cover
:align: center
:include-source: False
:show-source-link: False
:caption: Red arrows indicate the direction of the beam towards
the detector (orange) and the arrows parallel to the detector
indicate the direction of increasing pixel indices.
:caption: Each radial arrow indicates the direction of the beam
towards the detector (indicated in orange in the "light"
display mode) and the arrow parallel to the detector indicates
the direction of increasing pixel indices.
In this case the `z` axis is in the same direction as the
vertical/row axis of the detector and its projection corresponds to
Expand Down

0 comments on commit 00d67af

Please sign in to comment.