From 00d67aff9695b3ab0828b6794428e53ab760f237 Mon Sep 17 00:00:00 2001 From: Brendt Wohlberg Date: Tue, 30 Jul 2024 19:04:18 -0600 Subject: [PATCH] Improve figure captions --- scico/linop/xray/__init__.py | 13 +++++-------- scico/linop/xray/astra.py | 7 ++++--- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/scico/linop/xray/__init__.py b/scico/linop/xray/__init__.py index b909f585..9fc135c8 100644 --- a/scico/linop/xray/__init__.py +++ b/scico/linop/xray/__init__.py @@ -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. | diff --git a/scico/linop/xray/astra.py b/scico/linop/xray/astra.py index 294b7324..b7eec919 100644 --- a/scico/linop/xray/astra.py +++ b/scico/linop/xray/astra.py @@ -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