Exception Classes (tomographer)¶
-
exception
tomographer.
TomographerCxxError
¶ Bases:
Exception
Run-time error indicating an inappropriate usage or call of a method of the Python tomographer API. For example, an index may be out of range.
Note
C++ Eigen assertion failures generated by
eigen_assert()
raise Python exceptions (via C++ exceptions), are translated to this exception type.
-
exception
tomographer.
TomographerNumpyConversionError
¶ Bases:
tomographer.TomographerCxxError
Exception class which indicates an error in conversion of a NumPy object to or from a C++ Eigen matrix.