Skip to content

Commit cb45398

Browse files
committed
docs: add "Raises" section to the docstring
1 parent 471906e commit cb45398

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

pylops/medical/ct.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,14 @@ class CT2D(LinearOperator):
6969
Operator contains a matrix that can be solved
7070
explicitly (``True``) or not (``False``)
7171
72+
Raises
73+
------
74+
ValueError
75+
If a projector type other than 'cuda' is provided for 'cuda' engine.
76+
77+
NotImplementedError
78+
If ASTRA toolbox could not be imported.
79+
7280
Notes
7381
-----
7482
The CT2D operator applies parallel or fan beam computerized tomography operators

0 commit comments

Comments
 (0)