Skip to content

Commit c5394d6

Browse files
committed
Rename detector X/Y spacing to col/row spacing for clarity
1 parent 64e11a8 commit c5394d6

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

docs/geom3d.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,17 @@ parallel3d
4545
.. group-tab:: Python
4646
.. code-block:: python
4747
48-
proj_geom = astra.create_proj_geom('parallel3d', det_spacing_x, det_spacing_y, det_row_count, det_col_count, angles)
48+
proj_geom = astra.create_proj_geom('parallel3d', det_col_spacing, det_row_spacing, det_row_count, det_col_count, angles)
4949
5050
.. group-tab:: MATLAB
5151
.. code-block:: matlab
5252
53-
proj_geom = astra_create_proj_geom('parallel3d', det_spacing_x, det_spacing_y, det_row_count, det_col_count, angles);
53+
proj_geom = astra_create_proj_geom('parallel3d', det_col_spacing, det_row_spacing, det_row_count, det_col_count, angles);
5454
5555
Create a 3D parallel beam geometry.
5656

57-
* det_spacing_x: distance between the centers of two horizontally adjacent detector pixels
58-
* det_spacing_y: distance between the centers of two vertically adjacent detector pixels
57+
* det_col_spacing: distance between the centers of two horizontally adjacent detector pixels
58+
* det_row_spacing: distance between the centers of two vertically adjacent detector pixels
5959
* det_row_count: number of detector rows in a single projection
6060
* det_col_count: number of detector columns in a single projection
6161
* angles: projection angles in radians
@@ -68,17 +68,17 @@ cone
6868
.. group-tab:: Python
6969
.. code-block:: python
7070
71-
proj_geom = astra.create_proj_geom('cone', det_spacing_x, det_spacing_y, det_row_count, det_col_count, angles, source_origin, origin_det)
71+
proj_geom = astra.create_proj_geom('cone', det_col_spacing, det_row_spacing, det_row_count, det_col_count, angles, source_origin, origin_det)
7272
7373
.. group-tab:: MATLAB
7474
.. code-block:: matlab
7575
76-
proj_geom = astra_create_proj_geom('cone', det_spacing_x, det_spacing_y, det_row_count, det_col_count, angles, source_origin, origin_det);
76+
proj_geom = astra_create_proj_geom('cone', det_col_spacing, det_row_spacing, det_row_count, det_col_count, angles, source_origin, origin_det);
7777
7878
Create a 3D cone beam geometry.
7979

80-
* det_spacing_x: distance between the centers of two horizontally adjacent detector pixels
81-
* det_spacing_y: distance between the centers of two vertically adjacent detector pixels
80+
* det_col_spacing: distance between the centers of two horizontally adjacent detector pixels
81+
* det_row_spacing: distance between the centers of two vertically adjacent detector pixels
8282
* det_row_count: number of detector rows in a single projection
8383
* det_col_count: number of detector columns in a single projection
8484
* angles: projection angles in radians

0 commit comments

Comments
 (0)